10 lines
200 B
Bash
10 lines
200 B
Bash
# default vim.
|
|
vi() {
|
|
vi -c "filetype plugin indent on" -c "set autoindent" -c "set tabstop=2" -c "set shiftwidth=2" -c "set expandtab" -c "set number" -- "${@}"
|
|
}
|
|
|
|
# neovim.
|
|
v() {
|
|
nvim -- "${@}"
|
|
}
|