Line numbering changes
This commit is contained in:
parent
29ecabc1f1
commit
b31f7b9d6b
@ -1,8 +1,9 @@
|
|||||||
let mapleader = ','
|
let mapleader = ','
|
||||||
|
|
||||||
" core
|
" core
|
||||||
nnoremap <silent> <Esc><Esc> :nohlsearch<Cr>
|
|
||||||
nnoremap <silent> <Bs> :bd<Cr>
|
nnoremap <silent> <Bs> :bd<Cr>
|
||||||
|
nnoremap <silent> <Esc><Esc> :nohlsearch<Cr>
|
||||||
|
nnoremap <silent> <leader>n :set relativenumber!
|
||||||
nnoremap <silent> Q <Nop>
|
nnoremap <silent> Q <Nop>
|
||||||
nnoremap <silent> j gj
|
nnoremap <silent> j gj
|
||||||
nnoremap <silent> k gk
|
nnoremap <silent> k gk
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
set nocompatible
|
||||||
|
|
||||||
filetype indent plugin on
|
filetype indent plugin on
|
||||||
colorscheme molokai
|
colorscheme molokai
|
||||||
syntax enable
|
syntax enable
|
||||||
@ -18,11 +20,11 @@ set linebreak
|
|||||||
set mouse=nvi
|
set mouse=nvi
|
||||||
set mousemodel=popup
|
set mousemodel=popup
|
||||||
set nobackup
|
set nobackup
|
||||||
set nocompatible
|
|
||||||
set nofoldenable
|
set nofoldenable
|
||||||
set noswapfile
|
set noswapfile
|
||||||
set nowrap
|
set nowrap
|
||||||
set number
|
set number
|
||||||
|
set relativenumber
|
||||||
set scrolloff=5
|
set scrolloff=5
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set shortmess+=I
|
set shortmess+=I
|
||||||
|
@ -39,10 +39,6 @@ let g:syntastic_python_checkers = ['pyflakes']
|
|||||||
" vim-airline
|
" vim-airline
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
|
||||||
" vim-betterwhitespace
|
|
||||||
let g:better_whitespace_enabled = 0
|
|
||||||
let g:strip_whitespace_on_save = 1
|
|
||||||
|
|
||||||
" vim-latex
|
" vim-latex
|
||||||
let g:Tex_DefaultTargetFormat = 'pdf'
|
let g:Tex_DefaultTargetFormat = 'pdf'
|
||||||
let g:Tex_MultipleCompileFormats = 'pdf, aux'
|
let g:Tex_MultipleCompileFormats = 'pdf, aux'
|
||||||
|
Loading…
Reference in New Issue
Block a user