neovim
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
neovim [2024/04/01 22:24] – dblume | neovim [2024/09/16 20:05] (current) – [cscope] dblume | ||
---|---|---|---|
Line 9: | Line 9: | ||
The regular '' | The regular '' | ||
- | I could use snap on my work (Ubuntu) and personal frame.work laptop computers to get 0.9.5. (However, | + | [[https:// |
- | + | ||
- | sudo snap install nvim --classic | + | |
- | ln -s / | + | |
- | + | ||
- | But in WSL2, although I had '' | + | |
cd ~/ | cd ~/ | ||
Line 33: | Line 28: | ||
===== taglist ===== | ===== taglist ===== | ||
- | The old taglist I have isn't working as expected in tmux. Try getting the latest release (since head auto runs tests). | + | The old taglist I have isn't working as expected in tmux. Opening the window would wrap neovim windows. The fix is to disable auto-resizing the winwidth. |
+ | |||
+ | let Tlist_Inc_Winwidth = 0 | ||
+ | |||
+ | Along the way, I tried getting the latest release (since head auto runs tests). Maybe I should keep it. | ||
git clone --filter=blob: | git clone --filter=blob: | ||
+ | |||
+ | ===== cscope ===== | ||
+ | |||
+ | Cscope has been removed from neovim. If you want it back, install [[https:// | ||
+ | |||
+ | Your hierarchy would look something like: | ||
+ | < | ||
+ | ~/ | ||
+ | └── start | ||
+ | └── cscope_maps.nvim | ||
+ | └── lua | ||
+ | ├── cscope | ||
+ | │ └── pickers | ||
+ | └── utils | ||
+ | </ | ||
+ | |||
+ | Run the following commands: | ||
+ | |||
+ | mkdir -p ~/ | ||
+ | cd ~/ | ||
+ | git clone --filter=blob: | ||
+ | |||
+ | Then in your init.vim, add the following snippet: | ||
+ | |||
+ | <file lua init.vim> | ||
+ | lua << EOF | ||
+ | require(' | ||
+ | disable_maps = true, -- Mapping C-] to :Cstag < | ||
+ | -- Alternatively, | ||
+ | -- skip_input_prompt = true, | ||
+ | -- cscope = { skip_picker_for_single_result = true }, | ||
+ | }) | ||
+ | EOF | ||
+ | </ | ||
+ | |||
+ | ===== Mappings ===== | ||
+ | |||
+ | The easiest way to find out where a mapping came from is to run this command: | ||
+ | |||
+ | :verbose imap <key sequence> | ||
neovim.1712035451.txt.gz · Last modified: 2024/04/01 22:24 by dblume