diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-05-16 23:48:55 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-05-16 23:48:55 +0300 |
| commit | aa959324abcaafb4f5b8b01baa8e7195d0f62d92 (patch) | |
| tree | 48d29687657f2c542b9b2e40cf84355453cdb1d7 /.config | |
| parent | 265f13c89fa12e81aed02e81e4ad4830b7b2c656 (diff) | |
| download | dotfiles-aa959324abcaafb4f5b8b01baa8e7195d0f62d92.tar.gz dotfiles-aa959324abcaafb4f5b8b01baa8e7195d0f62d92.zip | |
nvim: add cmd to fix fullscreen and add haskell mode to xmobarrc
Diffstat (limited to '.config')
| -rw-r--r-- | .config/nvim/init.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 6422c85..1e156c1 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -125,6 +125,9 @@ vnoremap K :m '<-2<CR>gv=gv " alias for capturing group in command mode (for use with regexps) cmap ;( \(\)<Left><Left> +" fix wrong nvim size when starting in alacritty +autocmd VimEnter * :silent exec "!kill -s SIGWINCH $PPID" + " highlight yanked text " i consider this as transition from visually selecting stuff and yanking it " to just yank text object without selecting it @@ -132,3 +135,8 @@ augroup highlight_yank autocmd! autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank({timeout = 40}) augroup END + +augroup xmobar_syntax + autocmd! + autocmd BufRead,BufNewFile xmobarrc* set syntax=haskell +augroup END |
