add .vimrc
This commit is contained in:
parent
2180d01778
commit
3ba7b08e3b
1 changed files with 21 additions and 0 deletions
21
.vimrc
Normal file
21
.vimrc
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
set tabstop=4
|
||||||
|
set softtabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
set expandtab
|
||||||
|
set number
|
||||||
|
set autoindent
|
||||||
|
set mouse=a
|
||||||
|
filetype on
|
||||||
|
filetype plugin on
|
||||||
|
filetype indent on
|
||||||
|
syntax on
|
||||||
|
|
||||||
|
nmap n /<CR>
|
||||||
|
nmap N ?<CR>
|
||||||
|
|
||||||
|
set completeopt=longest,menuone
|
||||||
|
inoremap <expr> j ((pumvisible())?("\<C-n>"):("j"))
|
||||||
|
inoremap <expr> k ((pumvisible())?("\<C-p>"):("k"))
|
||||||
|
|
||||||
|
nmap <C-Tab> :tabn<CR>
|
||||||
|
nmap <C-S-Tab> :tabN<CR>
|
Loading…
Reference in a new issue