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)
- Host: GitHub
- URL: https://github.com/alswl/miv
- Owner: alswl
- Created: 2013-08-28T04:39:03.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2025-03-10T09:41:37.000Z (over 1 year ago)
- Last Synced: 2025-03-17T00:41:27.416Z (over 1 year ago)
- Topics: vim, vim-configuration
- Language: Vim Script
- Homepage:
- Size: 351 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.