summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorZofia Szweda <sophies@disroot.org>2026-09-01 11:33:22 +0200
committerZofia Szweda <sophies@disroot.org>2026-09-01 11:33:22 +0200
commit362dbd016efd851e369df965511680d1c1b713c9 (patch)
tree6a79673c32e4df5a9e33ac694838795b8bd07271 /vim/.vimrc
parent52edbfd8d4118b0747fa7f32277ebd658256e140 (diff)
expand vim configuration
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc24
1 files changed, 23 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 1494b8c..76a98c7 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -8,9 +8,31 @@ syntax on
set incsearch
set ignorecase
set smartcase
+set autochdir
set hidden
+set virtualedit=onemore
+set timeoutlen=500
+set ttimeoutlen=1
+set termguicolors
+colorscheme habamax
+let mapleader = "\<Space>"
+nnoremap <Space> <Nop>
call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline'
+Plug 'liuchengxu/vim-which-key'
+Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
+Plug 'junegunn/fzf.vim'
Plug 'kalbasit/vim-colemak'
call plug#end()
-
+nnoremap <silent> <leader> :WhichKey '<Space>'<CR>
+inoremap <silent> <Esc> <Esc>l
+let g:airline#extensions#tabline#enabled = 1
+let g:which_key_map = {}
+let g:which_key_map.f = ['Files', 'find files']
+let g:which_key_map.b = {
+ \ 'name' : '+buffer',
+ \ 'n' : ['bn', 'next buffer'],
+ \ 'p' : ['bp', 'previous buffer'],
+ \ 'b' : ['Buffers', 'fuzzy find buffers'],
+ \ }
+call which_key#register('<Space>', 'g:which_key_map')