diff options
author | aktersnurra <grydholm@kth.se> | 2021-02-23 21:11:49 +0100 |
---|---|---|
committer | aktersnurra <grydholm@kth.se> | 2021-02-23 21:11:49 +0100 |
commit | 1aca2302cbd0015496f5a272f49bc45f56ebb54d (patch) | |
tree | 6b1cbb997130c99412a5e71fa242b7ae7628a1ff | |
parent | 5b883c75e9d5bb93e635d798fd1aeb9ab8c8300a (diff) |
autoload files if changed when in buffer
-rw-r--r-- | .config/alacritty/alacritty.yml | 19 | ||||
-rw-r--r-- | .config/nvim/general/settings.vim | 4 | ||||
-rw-r--r-- | .config/nvim/init.vim | 1 | ||||
-rw-r--r-- | .config/nvim/vim-plug/plugins.vim | 1 | ||||
-rw-r--r-- | .config/tmux/.tmux.conf | 1 |
5 files changed, 17 insertions, 9 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 97ea954..8af599d 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -1,6 +1,6 @@ -draw_bold_text_with_bright_colors: true +# draw_bold_text_with_bright_colors: true # Set this if using macOS -#alt_send_esc: false +alt_send_esc: false colors: primary: background: '#2e3440' @@ -55,22 +55,22 @@ background_opacity: 1.0 font: # The normal (roman) font face to use. normal: - family: Space Mono Nerd Font + family: SpaceMono Nerd Font # Style can be specified to pick a specific face. style: Regular # The bold font face bold: - family: Space Mono Nerd Font + family: SpaceMono Nerd Font # Style can be specified to pick a specific face. # style: Bold # The italic font face italic: - family: Space Mono Nerd Font + family: SpaceMono Nerd Font # Style can be specified to pick a specific face. # style: Italic - size: 11.0 + size: 14.0 offset: x: 0 @@ -103,6 +103,11 @@ key_bindings: - { key: Key0, mods: Control, action: ResetFontSize } - { key: Equals, mods: Control, action: IncreaseFontSize } # - { key: Add, mods: Control, action: IncreaseFontSize } - # - { key: Subtract, mods: Control, action: DecreaseFontSize } + # - { key: Subtract, mods: Control, action: DecreaseFontSize } + # Vi mode + - { key: LBracket, mods: Control|Alt, action: ToggleViMode } + - { key: Q, mode: Vi, action: ToggleViMode } + - { key: H, mods: Shift, mode: Vi, action: First } + - { key: L, mods: Shift, mode: Vi, action: Last } - { key: Minus, mods: Control, action: DecreaseFontSize } - { key: N, mods: Control, action: SpawnNewInstance } diff --git a/.config/nvim/general/settings.vim b/.config/nvim/general/settings.vim index 1f9ae7f..47066ef 100644 --- a/.config/nvim/general/settings.vim +++ b/.config/nvim/general/settings.vim @@ -39,5 +39,9 @@ au! BufWritePost $MYVIMRC source % " auto source when writing to init.vm al set laststatus=2 " To get galaxyline to display +" Autoload file if changed. +set autoread +au CursorHold * checktime + " You can't stop me cmap w!! w !sudo tee % diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 875b24f..dbf6f5a 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -39,4 +39,3 @@ source $HOME/.config/nvim/plug-config/vim-commentary.vim " Theme source $HOME/.config/nvim/themes/nord.vim - diff --git a/.config/nvim/vim-plug/plugins.vim b/.config/nvim/vim-plug/plugins.vim index 02f479f..31b5096 100644 --- a/.config/nvim/vim-plug/plugins.vim +++ b/.config/nvim/vim-plug/plugins.vim @@ -29,6 +29,7 @@ call plug#begin('~/.config/nvim/autoload/plugged') Plug 'dylanaraps/wal.vim' Plug 'richtan/pywal.vim' Plug 'arcticicestudio/nord-vim' + Plug 'gavinok/spaceway.vim' " Color hex codes Plug 'ap/vim-css-color' diff --git a/.config/tmux/.tmux.conf b/.config/tmux/.tmux.conf index 1c4bfd8..8fdc640 100644 --- a/.config/tmux/.tmux.conf +++ b/.config/tmux/.tmux.conf @@ -4,7 +4,6 @@ set -g @plugin "arcticicestudio/nord-tmux" # Allows vim to display colors correctly. set -g terminal-overrides ',xterm-256color:Tc' -set -g default-terminal "screen-256color" set -as terminal-overrides ',xterm*:sitm=\E[3m' set -g status-position top # statusbar position |