diff --git a/home/dot_config/alacritty/alacritty.toml b/home/dot_config/alacritty/alacritty.toml index 1b58f60..b83240b 100644 --- a/home/dot_config/alacritty/alacritty.toml +++ b/home/dot_config/alacritty/alacritty.toml @@ -74,7 +74,7 @@ x = 0 y = 0 [scrolling] -history = 10000 +history = 20000 multiplier = 3 [window] diff --git a/home/dot_config/nvim/lua/basic/mapping.lua b/home/dot_config/nvim/lua/basic/mapping.lua index 58a47e9..95b064d 100644 --- a/home/dot_config/nvim/lua/basic/mapping.lua +++ b/home/dot_config/nvim/lua/basic/mapping.lua @@ -17,3 +17,5 @@ keymap.set('n', 'aa', 'gT') keymap.set('n', 'dd', 'gt') keymap.set('n', '', ':%!jq .') + +keymap.set('n', 'sg', ':lua vim.diagnostic.open_float(0, {scope="line"})') diff --git a/home/dot_config/sway/config b/home/dot_config/sway/config index e8c8a17..eb65497 100644 --- a/home/dot_config/sway/config +++ b/home/dot_config/sway/config @@ -17,7 +17,8 @@ set $down j set $up k set $right l # Your preferred terminal emulator -set $term env WINIT_UNIX_BACKEND=x11 alacritty +set $term env WAYLAND_DISPLAY= WINIT_X11_SCALE_FACTOR=1.0 alacritty +# set $term env WAYLAND_DISPLAY= WINIT_X11_SCALE_FACTOR=1.0 WINIT_UNIX_BACKEND=x11 alacritty # Your preferred application launcher # Note: pass the final command to swaymsg so that the resulting window can be opened # on the original workspace that the command was run on.