Version: 0.5.0
My neovim configuration
This configuration is only tested on my own environments.
These are needed if you want to use all features.
- g++/clang (for compile c++ programs)
- clangd provides LSP support.
- (xe)latex compiler (for latex usage)
- rust (and rust_analyzer)
- ty, ruff (Python LSP)
- typescript-language-server
To use this configuration, run following commands:
$ git clone --depth=1 -b neovim https://github.com/leomao/pika-vim.git
$ ln -sr pika-vim ~/.config/nvimExecute :Lazy sync. See lazy.nvim for more details.
Currently both <Leader> and <LocalLeader> are <space>.
- Save file
<Leader>w - next buffer
L - previous buffer
H - close buffer
<Leader>q :nohl<Leader>/
See Comment.nvim
- Compile
<Leader>ll - View
<Leader>lv - View error
<Leader>le - set main file: add
%! TEX root=MAINFILE_RELATIVEPATHat the top of your file - you may want to add
$pdflatex = 'xelatex -synctex=1 -interaction=nonstopmode --shell-escape %O %S';
in ~/.latexmkrc.
TBD
This configuration borrowed lots of things from https://github.com/chmnchiang/vim.