add .vimrc

This commit is contained in:
deneb 2024-05-28 20:56:46 +02:00
parent 2180d01778
commit 3ba7b08e3b

21
.vimrc Normal file
View file

@ -0,0 +1,21 @@
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
set number
set autoindent
set mouse=a
filetype on
filetype plugin on
filetype indent on
syntax on
nmap n /<CR>
nmap N ?<CR>
set completeopt=longest,menuone
inoremap <expr> j ((pumvisible())?("\<C-n>"):("j"))
inoremap <expr> k ((pumvisible())?("\<C-p>"):("k"))
nmap <C-Tab> :tabn<CR>
nmap <C-S-Tab> :tabN<CR>