Awesome
alswl's vim configuration
About miv
miv = vim configuration
forked from alswl/.oOo.@Github
Usage
git clone --recursive https://github.com/alswl/miv.git
ln -s $(pwd)/miv/.vim $HOME/
ln -s $(pwd)/miv/.vimrc $HOME/
vim +PlugInstall +qa
(Optional) if you are using neovim, type the next command in your vim:
:help nvim-from-vim
Or type these commands in your shell:
mkdir -p ~/.config/nvim
cat <<EOF > ~/.config/nvim/init.vim
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc
EOF
Tips
- F1: NerdTree
- F2: Table of Content
<leader> m
Mark color<leader> n
Mark remove color<leader> r
Mark reguarg ctrl-]
open ctags listctags -R --python-kinds -i
skip Python import statement:DrawIt
DrawIt mode<leader> tm
Table Mode<leader>nr
selected visual region edit:NR
selected line edit:NRV
selected region edit:NW
current window region editvipga=
align a paragraph with=
gaip=
align a paragraph with=
vipga➡️=
align a paragraph with=
, right margin- into view mode,
ga:
align block with:
, right margin \sf
File path convert