From 47104dc543716df819d41c95a3dc2976be008441 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Thu, 15 Oct 2020 14:17:05 +0530 Subject: added reverse search --- bspwm/.config/bspwm/bspwmrc | 2 +- dunst/.config/dunst/dunstrc | 2 -- nvim/.config/nvim/init.vim | 4 ++-- sxhkd/.config/sxhkd/sxhkdrc | 2 +- zsh/.zshrc | 3 +++ 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index d88582c..6b26399 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -10,7 +10,7 @@ bspc config borderless_monocle true bspc config gapless_monocle true # rules -bspc rule -a Brave-browser desktop='^2' +bspc rule -a Chromium desktop='^2' bspc rule -a Steam desktop='^6' bspc rule -a "VirtualBox Manager" desktop='^6' diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc index a1db2fc..21b5612 100755 --- a/dunst/.config/dunst/dunstrc +++ b/dunst/.config/dunst/dunstrc @@ -80,5 +80,3 @@ timeout = 5 background = "#000000" foreground = "#eeffff" timeout = 0 -# vim:ft=cfg - diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index e736f28..d584b28 100755 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -100,8 +100,8 @@ hi Comment cterm=italic " statusbar scriptencoding utf-8 -" cpp template -autocmd BufNewFile *.cpp 0r ~/.config/nvim/templates/skeleton.cpp +" templates +autocmd BufNewFile * silent! 0r $HOME/.config/nvim/templates/skelton.%:e " statusline hi PrimaryBlock ctermbg=NONE ctermfg=8 diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 99c0c2f..db05c16 100755 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -5,7 +5,7 @@ super + shift + Return super + @space dmenu_run -i -fn "JetBrains Mono Nerd Font Mono:style=medium:pixelsize=12.5" -nb "#000000" -nf "#f3f4f5" -sb "#EEFFFF" -sf "#000000" super + shift + w - brave + chromium control + alt + l xset s activate super + shift + f diff --git a/zsh/.zshrc b/zsh/.zshrc index 22a2121..b8e69f0 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -66,6 +66,9 @@ compinit bindkey -v export KEYTIMEOUT=1 +# reverse search +bindkey '^R' history-incremental-search-backward + # Use vim keys in tab complete menu: bindkey -M menuselect 'h' vi-backward-char bindkey -M menuselect 'k' vi-up-line-or-history -- cgit v1.2.3