Compare commits

..

2 Commits

Author SHA1 Message Date
Trianta
5cdedfed3e zsh: allow using cmakeg and cmakeb as subcommands 2024-06-07 23:02:15 -05:00
Trianta
91bd5b3127 nvim: remove new semi-conflicting binds 2024-06-07 23:01:48 -05:00
2 changed files with 6 additions and 2 deletions

4
.zshrc
View File

@ -26,8 +26,8 @@ zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
# Alias
alias vi="nvim"
alias vim="nvim"
alias cmakeg="cmake -B build -S ."
alias cmakeb="cmake --build build -j $(nproc)"
alias -g cmakeg="cmake -B build -S ."
alias -g cmakeb="cmake --build build -j $(nproc)"
# Plugins from AUR
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme

View File

@ -18,6 +18,10 @@ vim.keymap.set("n", "<C-w>", function() harpoon:list():select(2) end)
vim.keymap.set("n", "<C-e>", function() harpoon:list():select(3) end)
vim.keymap.set("n", "<C-r>", function() harpoon:list():select(4) end)
-- Fix annoying binds
vim.keymap.del("n", "<C-W><C-D>")
vim.keymap.del("n", "<C-W>d")
-- Zenmode
vim.keymap.set("n", "<leader>pz", function()
require("zen-mode").toggle({