dotfiles/.vimrc

22 lines
374 B
VimL
Raw Permalink Normal View History

2024-05-28 20:56:46 +02:00
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>