Compare commits
3 Commits
d1e3350445
...
4866b08e5d
Author | SHA1 | Date |
---|---|---|
David JULIEN | 4866b08e5d | |
David JULIEN | debc21cc3a | |
David JULIEN | 7d4f919ff3 |
|
@ -27,6 +27,12 @@ vim.keymap.set("n", "j",
|
||||||
desc = "Smart down motion"
|
desc = "Smart down motion"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- terminal-mode
|
||||||
|
vim.keymap.set({ "t" }, "<leader><Esc>",
|
||||||
|
"<C-\\><C-n>",
|
||||||
|
{ desc = "Escape terminal-mode" }
|
||||||
|
)
|
||||||
|
|
||||||
-- yank and pasting
|
-- yank and pasting
|
||||||
vim.keymap.set({ "n", "x" }, "<leader>y",
|
vim.keymap.set({ "n", "x" }, "<leader>y",
|
||||||
"\"+y",
|
"\"+y",
|
||||||
|
|
|
@ -18,6 +18,6 @@ setxkbmap -option ctrl:nocaps
|
||||||
# But when it is pressed only once, treat it as escape.
|
# But when it is pressed only once, treat it as escape.
|
||||||
killall xcape 2>/dev/null ; xcape -e 'Control_L=Escape'
|
killall xcape 2>/dev/null ; xcape -e 'Control_L=Escape'
|
||||||
# Map the menu button to right super as well.
|
# Map the menu button to right super as well.
|
||||||
xmodmap -e 'keycode 107 = Super_R'
|
xmodmap -e 'keycode 135 = Super_R'
|
||||||
# Turn off the caps lock if on since there is no longer a key for it.
|
# Turn off the caps lock if on since there is no longer a key for it.
|
||||||
#xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock
|
#xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock
|
||||||
|
|
Reference in New Issue