diff options
| author | Zofia Szweda <sophies@disroot.org> | 2026-09-01 11:33:22 +0200 |
|---|---|---|
| committer | Zofia Szweda <sophies@disroot.org> | 2026-09-01 11:33:22 +0200 |
| commit | 362dbd016efd851e369df965511680d1c1b713c9 (patch) | |
| tree | 6a79673c32e4df5a9e33ac694838795b8bd07271 /vim/.vimrc | |
| parent | 52edbfd8d4118b0747fa7f32277ebd658256e140 (diff) | |
expand vim configuration
Diffstat (limited to 'vim/.vimrc')
| -rw-r--r-- | vim/.vimrc | 24 |
1 files changed, 23 insertions, 1 deletions
@@ -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') |
