vim: Add line numbers and remap arrow keys
This commit is contained in:
parent
c8306a04be
commit
924f1b1568
1 changed files with 9 additions and 0 deletions
|
@ -6,6 +6,11 @@ nnoremap <SPACE> <Nop>
|
||||||
vnoremap < <gv
|
vnoremap < <gv
|
||||||
vnoremap > >gv
|
vnoremap > >gv
|
||||||
nnoremap = :FormatXML<Cr>
|
nnoremap = :FormatXML<Cr>
|
||||||
|
map <Up> <Nop>
|
||||||
|
map <Right> <Nop>
|
||||||
|
map <Down> <Nop>
|
||||||
|
map <Left> <Nop>
|
||||||
|
|
||||||
|
|
||||||
"" Vim Config
|
"" Vim Config
|
||||||
" Set completeopt to have a better completion experience
|
" Set completeopt to have a better completion experience
|
||||||
|
@ -34,6 +39,10 @@ set fileformats=unix,dos,mac
|
||||||
" Enable term color
|
" Enable term color
|
||||||
set tgc
|
set tgc
|
||||||
|
|
||||||
|
" Enable line number
|
||||||
|
set number
|
||||||
|
set relativenumber
|
||||||
|
|
||||||
"" Plugins
|
"" Plugins
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
Plug 'ghifarit53/tokyonight-vim'
|
Plug 'ghifarit53/tokyonight-vim'
|
||||||
|
|
Loading…
Reference in a new issue