An open API service indexing awesome lists of open source software.

https://github.com/alswl/miv

my vim configuration (macOS & Linux)
https://github.com/alswl/miv

vim vim-configuration

Last synced: over 1 year ago
JSON representation

my vim configuration (macOS & Linux)

Awesome Lists containing this project

README

          

# alswl's vim configuration #

## About miv ##

miv = vim configuration

forked from [alswl/.oOo.@Github][]

## Usage ##

``` bash
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 < ~/.config/nvim/init.vim
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc
EOF
```

## Tips

- F1: NerdTree
- F2: Table of Content
- ` m` Mark color
- ` n` Mark remove color
- ` r` Mark reguar
- `g ctrl-]` open ctags list
- `ctags -R --python-kinds -i` skip Python import statement
- `:DrawIt` DrawIt mode
- ` tm` Table Mode
- `nr` selected visual region edit
- `:NR` selected line edit
- `:NRV` selected region edit
- `:NW` current window region edit
- `vipga=` 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

[alswl/.oOo.@Github]: https://github.com/alswl/.oOo.