neovim
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
neovim [2024/03/26 10:39] – 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 ~/ | ||
+ | wget https:// | ||
tar -xvf nvim-linux64.tar.gz | tar -xvf nvim-linux64.tar.gz | ||
ln -s nvim-linux64/ | ln -s nvim-linux64/ | ||
Line 30: | Line 26: | ||
- read [[https:// | - read [[https:// | ||
| | ||
+ | ===== taglist ===== | ||
+ | |||
+ | 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: | ||
+ | |||
+ | ===== 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.1711474771.txt.gz · Last modified: 2024/03/26 10:39 by dblume