From f53d489076ae1a2321a0e0fb7a341e1bd8a7ab6f Mon Sep 17 00:00:00 2001 From: scbj Date: Fri, 29 Nov 2024 16:06:52 +0100 Subject: [PATCH 1/2] . --- code/.config/Code/User/settings.json | 3 ++- nvim/.config/nvim/lua/zegonix/settings.lua | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code/.config/Code/User/settings.json b/code/.config/Code/User/settings.json index 5525440..8391243 100755 --- a/code/.config/Code/User/settings.json +++ b/code/.config/Code/User/settings.json @@ -51,5 +51,6 @@ "rust-analyzer.inlayHints.closingBraceHints.enable": false, "rust-analyzer.inlayHints.genericParameterHints.type.enable": true, "rust-analyzer.inlayHints.typeHints.hideClosureInitialization": true, - "rust-analyzer.inlayHints.typeHints.hideNamedConstructor": true + "rust-analyzer.inlayHints.typeHints.hideNamedConstructor": true, + "rust-analyzer.check.command": "clippy" } \ No newline at end of file diff --git a/nvim/.config/nvim/lua/zegonix/settings.lua b/nvim/.config/nvim/lua/zegonix/settings.lua index 4aa02ab..207cb0a 100644 --- a/nvim/.config/nvim/lua/zegonix/settings.lua +++ b/nvim/.config/nvim/lua/zegonix/settings.lua @@ -11,7 +11,7 @@ vim.opt.incsearch = true vim.opt.termguicolors = true -vim.opt.scrolloff = 10 +vim.opt.scrolloff = 12 vim.opt.signcolumn = "yes" vim.opt.isfname:append("@-@") From 6f6126d0feae166e0b6893738c8a14d7b7b6d5bb Mon Sep 17 00:00:00 2001 From: scbj Date: Mon, 2 Dec 2024 10:29:01 +0100 Subject: [PATCH 2/2] added keybindings to move windows and switch to workspace in one action --- i3/.config/i3/config | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 060c8c9..d4ecb20 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -145,6 +145,18 @@ bindsym $mod+Shift+8 move container to workspace number $ws8 bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+0 move container to workspace number $ws10 +# move focused container and switch to workspace +bindsym $mod+$Alt+1 move container to workspace number $ws1; workspace number $ws1 +bindsym $mod+$Alt+2 move container to workspace number $ws2; workspace number $ws2 +bindsym $mod+$Alt+3 move container to workspace number $ws3; workspace number $ws3 +bindsym $mod+$Alt+4 move container to workspace number $ws4; workspace number $ws4 +bindsym $mod+$Alt+5 move container to workspace number $ws5; workspace number $ws5 +bindsym $mod+$Alt+6 move container to workspace number $ws6; workspace number $ws6 +bindsym $mod+$Alt+7 move container to workspace number $ws7; workspace number $ws7 +bindsym $mod+$Alt+8 move container to workspace number $ws8; workspace number $ws8 +bindsym $mod+$Alt+9 move container to workspace number $ws9; workspace number $ws9 +bindsym $mod+$Alt+0 move container to workspace number $ws10; workspace number $ws10 + # switch workspace bindsym $mod+Shift+Tab workspace prev bindsym $Alt+Shift+Tab workspace prev