vim: Add line numbers and remap arrow keys

This commit is contained in:
Leon Grünewald 2025-05-23 20:16:34 +02:00
parent c8306a04be
commit 924f1b1568

View file

@ -6,6 +6,11 @@ nnoremap <SPACE> <Nop>
vnoremap < <gv
vnoremap > >gv
nnoremap = :FormatXML<Cr>
map <Up> <Nop>
map <Right> <Nop>
map <Down> <Nop>
map <Left> <Nop>
"" Vim Config
" Set completeopt to have a better completion experience
@ -34,6 +39,10 @@ set fileformats=unix,dos,mac
" Enable term color
set tgc
" Enable line number
set number
set relativenumber
"" Plugins
call plug#begin('~/.vim/plugged')
Plug 'ghifarit53/tokyonight-vim'