From b835187f6aa345853408b5b92c32294c46b7aba0 Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 25 Jan 2024 15:31:07 +0000 Subject: syncthing --- programs/init.vim | 1 + programs/neovim.nix | 11 +++++------ programs/tmux.nix | 2 ++ 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'programs') diff --git a/programs/init.vim b/programs/init.vim index 8336db6..c62f419 100644 --- a/programs/init.vim +++ b/programs/init.vim @@ -176,4 +176,5 @@ lua << EOF require 'lsp' require 'treesitter' require 'completions' +require 'leap' EOF diff --git a/programs/neovim.nix b/programs/neovim.nix index 9585e37..0430868 100644 --- a/programs/neovim.nix +++ b/programs/neovim.nix @@ -13,7 +13,7 @@ withPython3 = true; extraPackages = with pkgs; [ # gcc - # python37Packages.yapf + python311Packages.yapf # hlint # ocamlformat ]; @@ -41,17 +41,16 @@ # syntax rust-vim haskell-vim - elm-vim vim-nix - vimtex # handy - vim-gitgutter tabular - emmet-vim - vimwiki fzf-vim + + # motion + leap-nvim ] ++ [ + # own pkgs.better-text-objs pkgs.vim-colors-plain ]; diff --git a/programs/tmux.nix b/programs/tmux.nix index f061997..43778dd 100644 --- a/programs/tmux.nix +++ b/programs/tmux.nix @@ -72,6 +72,7 @@ in set escape-time 20 set -g mouse on + set -g base-index 1 setw -g pane-base-index 1 @@ -113,6 +114,7 @@ in bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi y send-keys -X copy-pipe "xclip -i -sel p -f | xclip -i -sel c " bind-key -T copy-mode-vi r send-keys -X rectangle-toggle + bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-no-clear "xclip -i -sel p -f | xclip -i -sel c " bind P paste-buffer set-window-option -g allow-rename off -- cgit v1.2.3