mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
use zsh
This commit is contained in:
parent
cd9c91b9bc
commit
fbe299a28c
16 changed files with 67 additions and 17 deletions
|
|
@ -21,7 +21,7 @@ window-decoration = auto
|
|||
|
||||
### Commands
|
||||
|
||||
command = fish
|
||||
command = zsh
|
||||
env = EDITOR=nvim
|
||||
|
||||
### Keybindings
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@ return {
|
|||
},
|
||||
options = {
|
||||
nixos = {
|
||||
expr = '(builtins.getFlake ("git+file://" + toString ./.)).nixosConfigurations.k-on.options',
|
||||
expr = '(builtins.getFlake ("git+file://" + toString ./.)).nixosConfigurations.zephyrus.options',
|
||||
},
|
||||
home_manager = {
|
||||
expr = '(builtins.getFlake ("git+file://" + toString ./.)).homeConfigurations."ruixi@k-on".options',
|
||||
expr = '(builtins.getFlake ("git+file://" + toString ./.)).homeConfigurations."js0ny@zephyrus".options',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ return {
|
|||
{ "<leader>bD", "<cmd>BufferLineCloseOthers<CR>", desc = "Delete Other Buffers" },
|
||||
{ "<leader>bxx", "<cmd>BufferLineCloseOthers<CR>", desc = "Delete Other Buffers" },
|
||||
{ "<leader>bxh", "<cmd>BufferLineCloseLeft<CR>", desc = "Delete Buffers Left" },
|
||||
{ "<leader>bxi", "<cmd>BufferLineCloseRight<CR>", desc = "Delete Buffers Right" },
|
||||
{ "<leader>bxl", "<cmd>BufferLineCloseRight<CR>", desc = "Delete Buffers Right" },
|
||||
{ "<leader>bX", "<cmd>BufferLineCloseOthers<CR>", desc = "Delete Other Buffers" },
|
||||
{ "<leader>bt", "<cmd>BufferLineTogglePin<CR>", desc = "Pin Buffer" },
|
||||
},
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ return {
|
|||
lua = { "stylua" },
|
||||
python = { "isort", "black" },
|
||||
javascript = { "prettierd", "prettier", stop_after_first = true },
|
||||
nix = { "alejandra" },
|
||||
},
|
||||
|
||||
-- Set default options
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ bindkey '^K' kill-line
|
|||
# Zsh will parse <C-Backspace> to C-h
|
||||
bindkey '^H' backward-kill-word
|
||||
|
||||
bindkey -M viins '^?' backward-delete-char
|
||||
# LEADER CONVENTION
|
||||
# ^X defines as a prefix key in shell
|
||||
# ^A defines as a prefix key in tmux
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue