fix(vim): <C-_> now <C-/> as it should be in the first place
This commit is contained in:
parent
207ad67a7b
commit
b2a731e341
3 changed files with 7 additions and 5 deletions
|
@ -5,7 +5,8 @@ exec-once = unclutter
|
|||
exec-once = dunst
|
||||
exec-once = numlockx
|
||||
exec-once = lxpolkit
|
||||
exec-once = hyperpaper
|
||||
exec-once = nitrogen --restore
|
||||
exec-once = fcitx5 -d
|
||||
#exec-once = mpvpaper -vs -o "no-audio loop" VGA-1 /home/ziro/my\ Files/Wallpaper/HoloLive/Torii\ Gate/Torii\ Gate.webm &
|
||||
|
||||
monitor=,preferred,auto,auto
|
||||
|
@ -103,6 +104,7 @@ bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
|
|||
bind = $mainMod, Space, exec, exec `tofi-run` 2>/dev/null
|
||||
bind = $metaMod, Q, exit,
|
||||
bind = $metaMod, F, togglefloating,
|
||||
bind = $metaMod, S, pin,
|
||||
bind = $metaMod, P, pseudo, # for dwindle only
|
||||
bind = $metaMod, J, togglesplit, # for dwindle only
|
||||
|
||||
|
|
|
@ -52,10 +52,9 @@ noremap <C-Y> "+y
|
|||
noremap <C-P> "+P
|
||||
|
||||
" Shortcut to comment a line
|
||||
" <C-_> means ctrl+/ for vim, for some reason...
|
||||
map <C-_> gcc
|
||||
vmap <C-_> gc
|
||||
imap <C-_> <esc>gc
|
||||
map <C-/> gcc
|
||||
vmap <C-/> gc
|
||||
imap <C-/> <esc>gc
|
||||
|
||||
" Clear last search result
|
||||
map <leader>c :noh<CR>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
# rateUSD | sed 's/^/ /g'
|
||||
|
||||
setopt auto_cd # auto cd if directory
|
||||
|
||||
# highlight on tab (completion)
|
||||
[ -f ~/.config/zsh/completion ] && source ~/.config/zsh/completion
|
||||
# zstyle ':completion:*:*:git:*' script /usr/local/etc/bash_completion.d/git-completion.bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue