From 2bf62472741b4438db856b991039789a2d7fc990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 8 Nov 2020 18:48:43 +0000 Subject: [PATCH] faster rofi, vscode tweaks --- .config/Code/User/keybindings.json | 13 +++++++++++++ nixos/gui/vscode.nix | 6 ------ nixos/i3/i3.nix | 3 +-- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.config/Code/User/keybindings.json b/.config/Code/User/keybindings.json index b877f770..fcaa7e80 100644 --- a/.config/Code/User/keybindings.json +++ b/.config/Code/User/keybindings.json @@ -3,5 +3,18 @@ { "key": "ctrl+shift+r", "command": "workbench.action.tasks.test", + }, + { + "key": "shift+alt+left", + "command": "workbench.action.navigateBack" + }, + { + "key": "ctrl+alt+-", + "command": "-workbench.action.navigateBack" + }, + { + "key": "shift+alt+left", + "command": "-editor.action.smartSelect.shrink", + "when": "editorTextFocus" } ] \ No newline at end of file diff --git a/nixos/gui/vscode.nix b/nixos/gui/vscode.nix index 67538aa0..2251c7fc 100644 --- a/nixos/gui/vscode.nix +++ b/nixos/gui/vscode.nix @@ -24,12 +24,6 @@ version = "1.16.0"; sha256 = "13ng5ib5h2642m1y96a5fdfqbjkmsapfiq6pal8fja3afnkb11l5"; } - { - publisher = "TabNine"; - name = "tabnine-vscode"; - version = "2.2.3"; - sha256 = "0wxffsl3sfhxvgl8gz2s0115fpabjqfrrvszbv7ijy6m8shf1clm"; - } { publisher = "matklad"; name = "rust-analyzer"; diff --git a/nixos/i3/i3.nix b/nixos/i3/i3.nix index 62756408..37df79c3 100644 --- a/nixos/i3/i3.nix +++ b/nixos/i3/i3.nix @@ -56,8 +56,7 @@ in "Print" = "exec ${pkgs.gnome3.gnome-screenshot}/bin/gnome-screenshot -i"; - "${mod}+r" = "exec nix-shell -p glibcLocales --run '${pkgs.rofi}/bin/rofi -show combi -combi-modi window#run#ssh -modi combi'"; - "${mod}+z" = "exec ${pkgs.nix}/bin/nix-shell -p glibcLocales --run '${pkgs.rofi}/bin/rofi -show combi -combi-modi window#run#ssh -modi combi'"; + "${mod}+r" = "exec ${pkgs.rofi}/bin/rofi -show combi -combi-modi window#run#ssh -modi combi"; "${mod}+c" = "exec ${pkgs.clipmenu}/bin/clipmenu"; "${mod}+q" = "kill"; "${mod}+f" = "fullscreen toggle";