From aa959324abcaafb4f5b8b01baa8e7195d0f62d92 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Sun, 16 May 2021 23:48:55 +0300 Subject: nvim: add cmd to fix fullscreen and add haskell mode to xmobarrc --- .config/nvim/init.vim | 8 ++++++++ 1 file changed, 8 insertions(+) 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 '<-2gv=gv " alias for capturing group in command mode (for use with regexps) cmap ;( \(\) +" 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 -- cgit v1.2.3