summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-09-18 12:31:59 +0100
committerUrbain Vaes <urbain@vaes.uk>2020-09-18 12:31:59 +0100
commitd99897857b52870c427a8910061d922fcb020184 (patch)
treeae6dd7fec1b350183aa4483c6e5a598e571f7f78
parent470b79a5b29d2c50b64a945a0f67a4125a3ba8b6 (diff)
Minor changes
-rw-r--r--.mrconfig5
-rwxr-xr-xbin/.local/bin/keyboard3
-rwxr-xr-xbin/.local/bin/keyboard-us8
-rw-r--r--vim/.vimrc9
4 files changed, 12 insertions, 13 deletions
diff --git a/.mrconfig b/.mrconfig
index 4152e60..f88dd35 100644
--- a/.mrconfig
+++ b/.mrconfig
@@ -27,3 +27,8 @@ push = git push origin master
checkout = git clone 'git@github.com:urbainvaes/vim-macaw.git'
update = git pull origin master
push = git push origin master
+
+[$HOME/dotfiles/plugins/nvim-i3scratchpad]
+checkout = git clone 'git@github.com:urbainvaes/nvim-i3scratchpad.git'
+update = git pull origin master
+push = git push origin master
diff --git a/bin/.local/bin/keyboard b/bin/.local/bin/keyboard
index ee1cc61..59a9ee0 100755
--- a/bin/.local/bin/keyboard
+++ b/bin/.local/bin/keyboard
@@ -51,8 +51,9 @@ xcape -e 'Super_L=space'
# xmodmap -e "keycode any = Return"
# xcape -e 'Control_R=Return'
-# Make eject an Insert
+# Make eject and Home an Insert
xmodmap -e "keysym XF86Eject = Insert"
+xmodmap -e "keysym Home = Insert"
# Numbers
xmodmap -e "keysym d = d D 0"
diff --git a/bin/.local/bin/keyboard-us b/bin/.local/bin/keyboard-us
index 1b6ceba..1b150fc 100755
--- a/bin/.local/bin/keyboard-us
+++ b/bin/.local/bin/keyboard-us
@@ -13,10 +13,10 @@ setxkbmap us
xmodmap -e "clear Lock"
xmodmap -e "keysym Caps_Lock = Control_L Control_L"
xmodmap -e "add Control = Control_L"
-xcape -e 'Control_L=Escape'
+# xcape -e 'Control_L=Escape'
# Make space (Super_L, space)
-xmodmap -e "keysym space = Super_L"
-xmodmap -e "add mod4 = Super_L"
-xmodmap -e "keycode any = space"
+# xmodmap -e "keysym space = Super_L"
+# xmodmap -e "add mod4 = Super_L"
+# xmodmap -e "keycode any = space"
# xcape -e 'Super_L=space'
diff --git a/vim/.vimrc b/vim/.vimrc
index 77189c5..b225bcd 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -67,6 +67,7 @@ if isdirectory($HOME."/dotfiles/plugins")
endif
if has("nvim")
+ Plug '~/dotfiles/plugins/nvim-i3scratchpad'
Plug 'neovim/nvim-lsp'
endif
@@ -492,11 +493,3 @@ if has("nvim")
nnoremap <silent> <c-g>t <cmd>lua vim.lsp.buf.type_definition()<cr>
nnoremap <silent> <c-g><c-g> <cmd>lua vim.lsp.stop_client(vim.lsp.get_active_clients())<cr>
endif
-
-function Create_floating_buffer()
- let buffer = nvim_create_buf(1, 0)
- call nvim_open_win(buffer, 1, {'relative': 'editor', 'width': 100, 'height': 20, 'row': 10, 'col': 5})
-endfunction
-
-command! Fnew call Create_floating_buffer()
-" let g:ripple_winpos = "Fnew"