neovim
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
neovim [2024/04/08 14:41] – Add :verbose imap <key> 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 40: | Line 35: | ||
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 ===== | ===== Mappings ===== |
neovim.1712612495.txt.gz · Last modified: 2024/04/08 14:41 by dblume