From 9577f519444ae241a71a126f61dbe3a3ddcba0b8 Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 20 Jan 2025 16:18:04 -0600 Subject: Extend hyprland no swallow regex to include nvim This should match either vim or nvim, as I figured out why LLP wasn't working in nvim for me. --- hypr/hyprland.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 7b621e0..c4b05c0 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -100,7 +100,7 @@ misc { disable_splash_rendering = true enable_swallow = true swallow_regex = ^(kitty)$ - swallow_exception_regex = ^(.*ueberzug|vim .*)$ + swallow_exception_regex = ^(.*ueberzug|n?vim .*)$ vfr = true vrr = 1 } -- cgit v1.2.3 From c1e2ed7f2bbef1879093c19ddd79787b3d671aff Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 20 Jan 2025 16:19:05 -0600 Subject: Set kitty tab-bar style to powerline I think it fits in better with my system than fade. --- kitty/kitty.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 540419a..55b72c8 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -913,7 +913,7 @@ confirm_os_window_close 0 #: The second number is the margin between the tab bar and the #: contents of the current tab. -# tab_bar_style fade +tab_bar_style powerline #: The tab bar style, can be one of: -- cgit v1.2.3 From 021b916382f129d8e95a5070fbbf466a05c2582a Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 20 Jan 2025 16:19:53 -0600 Subject: Use the same config for both vim and nvim This was already taken care of in the config, I'm not sure why I didn't do this at the time. --- nvim/init.vim | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/nvim/init.vim b/nvim/init.vim index d27d9d4..cdf9b33 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,3 +1,20 @@ +set runtimepath^=$XDG_CONFIG_HOME/vim +set runtimepath+=$XDG_DATA_HOME/vim +set runtimepath+=$XDG_CONFIG_HOME/vim/after + +set packpath^=$XDG_DATA_HOME/vim,$XDG_CONFIG_HOME/vim +set packpath+=$XDG_CONFIG_HOME/vim/after,$XDG_DATA_HOME/vim/after + +let g:netrw_home = $XDG_DATA_HOME."/vim" +call mkdir($XDG_DATA_HOME."/vim/spell", 'p') + +set backupdir=$XDG_STATE_HOME/vim/backup | call mkdir(&backupdir, 'p') +set directory=$XDG_STATE_HOME/vim/swap | call mkdir(&directory, 'p') +set undodir=$XDG_STATE_HOME/vim/undo | call mkdir(&undodir, 'p') +set viewdir=$XDG_STATE_HOME/vim/view | call mkdir(&viewdir, 'p') + +if !has('nvim') | set viminfofile=$XDG_STATE_HOME/vim/viminfo | endif + " vimplugs {{{ call plug#begin('~/.config/nvim/plugged') " colorschemes {{{ -- cgit v1.2.3 From 8dd9c87d4d8c2f35f7ef26fe19d3330235abdfb7 Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 20 Jan 2025 16:20:22 -0600 Subject: Use the Dark2 vim theme instead of 256-grayvim --- nvim/init.vim | 2 +- vim/vimrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nvim/init.vim b/nvim/init.vim index cdf9b33..812bf3e 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -62,7 +62,7 @@ set showmatch " Highlight matching brace set number set relativenumber -colorscheme 256-grayvim +colorscheme Dark2 set hlsearch " Highlight all search results set smartcase " Enable smart-case search diff --git a/vim/vimrc b/vim/vimrc index cdf9b33..812bf3e 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -62,7 +62,7 @@ set showmatch " Highlight matching brace set number set relativenumber -colorscheme 256-grayvim +colorscheme Dark2 set hlsearch " Highlight all search results set smartcase " Enable smart-case search -- cgit v1.2.3