vim update
This commit is contained in:
parent
683034b758
commit
126f493d7c
@ -46,3 +46,6 @@ endsnippet
|
|||||||
snippet \/ "down arrow ↓"
|
snippet \/ "down arrow ↓"
|
||||||
↓
|
↓
|
||||||
endsnippet
|
endsnippet
|
||||||
|
snippet 1/2 "half ½"
|
||||||
|
½
|
||||||
|
endsnippet
|
||||||
|
|||||||
8
vimrc
8
vimrc
@ -1,6 +1,3 @@
|
|||||||
" Use pathogen to use search for plug-ins
|
|
||||||
" call pathogen#infect()
|
|
||||||
|
|
||||||
" Basics
|
" Basics
|
||||||
set t_Co=256 " Use 256 colors
|
set t_Co=256 " Use 256 colors
|
||||||
set encoding=utf8 " Use utf-8 encoding
|
set encoding=utf8 " Use utf-8 encoding
|
||||||
@ -55,12 +52,12 @@ set fileformats=unix,dos,mac " support all three, in this order
|
|||||||
set nostartofline " leave my cursor where it was
|
set nostartofline " leave my cursor where it was
|
||||||
set history=10000
|
set history=10000
|
||||||
set autoread " Set to auto read when a file is changed from the outside
|
set autoread " Set to auto read when a file is changed from the outside
|
||||||
"set autochdir " Change current directory to be directory of current file
|
set autochdir " Change current directory to be directory of current file
|
||||||
set colorcolumn=81
|
set colorcolumn=81
|
||||||
"set foldmethod=syntax
|
"set foldmethod=syntax
|
||||||
|
|
||||||
" fuzzy finding
|
" fuzzy finding
|
||||||
set path+=**
|
"set path+=**
|
||||||
|
|
||||||
" Have tab complete work more like bash
|
" Have tab complete work more like bash
|
||||||
set wildmenu
|
set wildmenu
|
||||||
@ -91,7 +88,6 @@ nnoremap <leader>np :set nopaste<cr>
|
|||||||
nnoremap <leader>nn :set nonumber norelativenumber<cr>
|
nnoremap <leader>nn :set nonumber norelativenumber<cr>
|
||||||
nnoremap <leader>rn :set number relativenumber<cr>
|
nnoremap <leader>rn :set number relativenumber<cr>
|
||||||
|
|
||||||
|
|
||||||
if bufwinnr(1)
|
if bufwinnr(1)
|
||||||
map <leader>+ <C-W><
|
map <leader>+ <C-W><
|
||||||
map <leader>- <C-W>>
|
map <leader>- <C-W>>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user