diff --git a/configs/nvim/init.vim b/configs/nvim/init.vim index 56a0ac6..1a2d0b3 100644 --- a/configs/nvim/init.vim +++ b/configs/nvim/init.vim @@ -6,15 +6,17 @@ syntax on set mouse=a " Configure the right-click menu -aunmenu PopUp -vnoremenu PopUp.Cut "+x -vnoremenu PopUp.Copy "+y -anoremenu PopUp.Paste "+gP -vnoremenu PopUp.Paste "+P -vnoremenu PopUp.Delete "_x -nnoremenu PopUp.Select\ All> ggVG -vnoremenu PopUp.Select\ All> gg0oG$ -inoremenu PopUp.Select\ All VG +if !exists('g:vscode') + aunmenu PopUp + vnoremenu PopUp.Cut "+x + vnoremenu PopUp.Copy "+y + anoremenu PopUp.Paste "+gP + vnoremenu PopUp.Paste "+P + vnoremenu PopUp.Delete "_x + nnoremenu PopUp.Select\ All> ggVG + vnoremenu PopUp.Select\ All> gg0oG$ + inoremenu PopUp.Select\ All VG +endif " Tab size set tabstop=4 @@ -61,18 +63,22 @@ cnoreabbrev help getcmdtype() == ":" && getcmdline() == 'help' ? 'tab hel cnoreabbrev h getcmdtype() == ":" && getcmdline() == 'h' ? 'tab help' : 'h' " Enable spell checking -set spell -set spelllang=en_ca,en_us -set spelloptions=camel -hi clear SpellCap -hi clear SpellRare +if !exists('g:vscode') + set spell + set spelllang=en_ca,en_us + set spelloptions=camel + hi clear SpellCap + hi clear SpellRare +endif " Disable the gitgutter background let g:gitgutter_override_sign_column_highlight = 1 highlight clear SignColumn " Make gitgutter update on file save -autocmd BufWritePost * GitGutter +if !exists('g:vscode') + autocmd BufWritePost * GitGutter +endif " Enable Leap lua require('leap').add_default_mappings() diff --git a/configs/termux/termux.properties b/configs/termux/termux.properties new file mode 100644 index 0000000..9f8a262 --- /dev/null +++ b/configs/termux/termux.properties @@ -0,0 +1,7 @@ +# Terminal behaviour +bell-character=vibrate + +# Keyboard +extra-keys-style = default +extra-keys = [['ESC', 'TAB', 'CTRL', 'ALT', 'LEFT', 'DOWN', 'UP', 'RIGHT']] + diff --git a/install.conf.yaml b/install.conf.yaml index e75163e..cd90227 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -14,6 +14,7 @@ - ~/pkg # Config dirs - ~/.config/nvim + - ~/.config/termux - ~/.cargo # Program plugins - ~/.local/share/nautilus/scripts/ @@ -52,6 +53,7 @@ ~/.config/rofi: configs/rofi # ~/.local/share/remmina: configs/remmina/hosts ~/.cargo/config.toml: configs/cargo/config.toml + ~/.config/termux/termux.properties: configs/termux/termux.properties - shell: - [git submodule update --init --recursive, Installing submodules] @@ -60,3 +62,4 @@ - [chmod +x configs/scripts/aspath, Making aspath executable] - [chmod +x configs/scripts/fetch-steamdeck-screenshots, Making fetch-steamdeck-screenshots executable] - [sh ./helpers/configure-gnome.sh, Configuring GNOME] + - [termux-reload-settings || true, Trying to reload Termux]