relative numbering in vim
This commit is contained in:
parent
38931f3fe6
commit
8a50126c2d
@ -18,6 +18,7 @@ set cursorcolumn
|
|||||||
set nojoinspaces
|
set nojoinspaces
|
||||||
set nowritebackup
|
set nowritebackup
|
||||||
set termguicolors
|
set termguicolors
|
||||||
|
set relativenumber
|
||||||
|
|
||||||
set bs=2
|
set bs=2
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
@ -41,14 +42,12 @@ nmap <C-Right> :tabnext<CR>
|
|||||||
|
|
||||||
map <leader>b <Esc>:set cc=79<CR>
|
map <leader>b <Esc>:set cc=79<CR>
|
||||||
map <leader>nb <Esc>:set cc=0<CR>
|
map <leader>nb <Esc>:set cc=0<CR>
|
||||||
map <leader>n <Esc>:set nonumber!<CR>
|
map <leader>n <Esc>:set nonumber! norelativenumber!<CR>
|
||||||
map <leader>p <Esc>:set paste!<CR>
|
map <leader>p <Esc>:set paste!<CR>
|
||||||
map <leader>g <Esc>:Gstatus<CR>
|
map <leader>g <Esc>:Gstatus<CR>
|
||||||
map <leader>gc <Esc>:Gcommit<CR>
|
map <leader>gc <Esc>:Gcommit<CR>
|
||||||
map <leader>gp <Esc>:Gpush<CR>
|
map <leader>gp <Esc>:Gpush<CR>
|
||||||
|
|
||||||
au BufRead,BufNewFile *.pp
|
|
||||||
\ set filetype=puppet
|
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
call plug#begin('~/.config/vim-plugins')
|
call plug#begin('~/.config/vim-plugins')
|
||||||
@ -58,6 +57,7 @@ Plug 'junegunn/fzf.vim'
|
|||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'edkolev/tmuxline.vim'
|
Plug 'edkolev/tmuxline.vim'
|
||||||
Plug 'itchyny/lightline.vim'
|
Plug 'itchyny/lightline.vim'
|
||||||
|
Plug 'hashivim/vim-terraform'
|
||||||
Plug 'bitc/vim-bad-whitespace'
|
Plug 'bitc/vim-bad-whitespace'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user