diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua index b35738b..c9267a7 100644 --- a/.config/nvim/lua/mappings.lua +++ b/.config/nvim/lua/mappings.lua @@ -4,6 +4,7 @@ vim.keymap.set("n", "k", "gk", {}) vim.keymap.set("n", "", "", {}) vim.keymap.set("t", "jj", "", { noremap = true, silent = true }) vim.keymap.set("n", "", ":q", { noremap = true, silent = true }) +vim.keymap.set("n", "", ":q!", { noremap = true, silent = true }) vim.keymap.set("n", "", "", { noremap = true }) vim.keymap.set("n", "", "g;", { noremap = true }) vim.keymap.set("n", "", "g,", { noremap = true }) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 5454896..d900cf3 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -278,7 +278,7 @@ alias wget=wget --hsts-file="$XDG_DATA_HOME/wget-hsts" alias xbindkeys="xbindkeys -f $XDG_CONFIG_HOME/xbindkeys/config" alias python=python3 alias r=". ranger" -alias v="vim . && cd \"\$(cat /tmp/oil_dir)\"" +alias v="vim . && cd \"\$(cat /tmp/oil_dir 2> /dev/null || pwd)\"" alias cpr="rsync --archive -hh --partial --info=stats1,progress2 --modify-window=1" alias mvr="rsync --archive -hh --partial --info=stats1,progress2 --modify-window=1 --remove-source-files" alias rg="rg -i --colors 'match:bg:yellow' --colors 'match:fg:black' --colors 'match:style:nobold' --colors 'path:fg:green' --colors 'path:style:bold' --colors 'line:fg:yellow' --colors 'line:style:bold'"