email me if there is any problems:[email protected]
This project integrates neovim tmux zsh and some very useful plugs of them including COC-Nvim FZF auto pairs nerdtree ncm2 and so on.
1.Clone this repo:
git clone https://github.com/JinYanming/nvim_configration.git
2.Quick installation
cd nvim_configration
bash ./neovim_install.sh
bash nvim+tmux+zsh-auto.sh
bash ./virtualenv_debuggy.sh
3.Open nvim, and wait for the coc auto-installation complete,after that type:
:PlugInstall
:MasonInstall codelldb
4.open tmux and:
~/.tmux/plugins/tpm/bin/install_plugins
5.install nerd fonts in you local machine!!!(not on servers,do the below operation on you local machine)
git clone https://github.com/ryanoasis/nerd-fonts.git
cd fonts
./install.sh
Settings: terminal > preference > fons modified as :any kind of Nerd fonts。
(注意:是在本地终端修改和安装字体)
After all the four steps above finished,Please exit your server and reconnect your servers.
Tools including nvim zsh tmux and several needed plugs will be installed automaticly
The rest thing you have to do is to use it and work on it.
some important Keys usage:
<F5> continue()
<F10> step_over()
<F11> step_into()
<F12> step_out()
<Leader>b toggle_breakpoint()
<Leader>B set_breakpoint()
<Leader>lp set_breakpoint
<Leader>dr repl.open()
<Leader>dl run_last()
<Leader>dc run_to_cursor()
<Leader>dh hover
<Leader>dp preview()
<Leader>df centered_float (widgets.frames)
<Leader>ds centered_float(widgets.scopes)
<leader> key is tab
<F3> open file tree
<F8> open function tree
/ quick search
gcc comment out a line (takes a count)
gc comment out the target of a motion (for example, gcap to comment out a paragraph), gc in visual mode to comment out the selection
:Pydocstring auto generate a function doc demo
<space>f fuzzy search files
<space>r fuzzy search recent files
<ALT>s open/close: autoshow signature/doc while hovering functions or varaiables
<ALT>l open/close: auto highlight the hovering word and all the other same words
<ALT>g lazy git
Ctrl + R recent history commands