Configure termux
This commit is contained in:
parent
676de71923
commit
fcee01b0b5
@ -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 <C-Home><C-O>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 <C-Home><C-O>VG
|
||||
endif
|
||||
|
||||
" Tab size
|
||||
set tabstop=4
|
||||
@ -61,18 +63,22 @@ cnoreabbrev <expr> help getcmdtype() == ":" && getcmdline() == 'help' ? 'tab hel
|
||||
cnoreabbrev <expr> 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()
|
||||
|
7
configs/termux/termux.properties
Normal file
7
configs/termux/termux.properties
Normal file
@ -0,0 +1,7 @@
|
||||
# Terminal behaviour
|
||||
bell-character=vibrate
|
||||
|
||||
# Keyboard
|
||||
extra-keys-style = default
|
||||
extra-keys = [['ESC', 'TAB', 'CTRL', 'ALT', 'LEFT', 'DOWN', 'UP', 'RIGHT']]
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user