From 9bdab305bdeed4fedcb14dd1aad63bac3912ca86 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 18 Sep 2020 12:31:59 +0100 Subject: Minor changes --- .mrconfig | 5 +++++ bin/.local/bin/keyboard | 3 ++- bin/.local/bin/keyboard-us | 8 ++++---- vim/.vimrc | 9 +-------- 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 t lua vim.lsp.buf.type_definition() nnoremap lua vim.lsp.stop_client(vim.lsp.get_active_clients()) 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" -- cgit v1.2.3