diff --git a/config/programs/gitignore_global b/config/programs/gitignore_global index 82a0818..1002404 100644 --- a/config/programs/gitignore_global +++ b/config/programs/gitignore_global @@ -9,3 +9,7 @@ tags # Intellij .idea + +*.aliu-local.* +*.aliu-local +# .tmp.aliu-local diff --git a/config/programs/neovim/lua/compat/neovide.lua b/config/programs/neovim/lua/compat/neovide.lua index c9397f5..4966eda 100644 --- a/config/programs/neovim/lua/compat/neovide.lua +++ b/config/programs/neovim/lua/compat/neovide.lua @@ -1,3 +1,12 @@ vim.g.neovide_cursor_animation_length = 0.05 vim.g.neovide_cursor_trail_size = 0.3 vim.g.neovide_cursor_animate_command_line = false + +vim.keymap.set('v', '', '"+y') -- Copy +vim.keymap.set('n', '', '"+P') -- Paste normal mode +vim.keymap.set('v', '', '"+P') -- Paste visual mode +vim.keymap.set('c', '', '+') -- Paste command mode +vim.keymap.set('i', '', '+') -- Paste insert mode + +-- Paste terminal mode; `` puts you in normal mode +vim.keymap.set('t', '', '"+Pi') diff --git a/home-manager/.gitignore b/home-manager/.gitignore new file mode 100644 index 0000000..2c553cb --- /dev/null +++ b/home-manager/.gitignore @@ -0,0 +1 @@ +/local diff --git a/home-manager/flake.nix b/home-manager/flake.nix index 65a5697..f2d4ac8 100644 --- a/home-manager/flake.nix +++ b/home-manager/flake.nix @@ -1,3 +1,4 @@ +# https://nixos-and-flakes.thiscute.world/other-usage-of-flakes/inputs { description = "Home Manager configuration of aliu"; diff --git a/home-manager/home.nix b/home-manager/home.nix index ca5c1d3..ad93fd2 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -44,8 +44,10 @@ in # (pkgs.writeShellScriptBin "my-hello" '' # echo "Hello, ${config.home.username}!" # '') + git-lfs neovim + neovide ripgrep tmux fd