This commit is contained in:
Henrik Bakken
2021-06-20 14:02:10 +02:00
parent 157d5007ce
commit 35064929f6
4 changed files with 15 additions and 13 deletions
@@ -11,3 +11,5 @@ end
function ll --description 'List contents of directory using long format' function ll --description 'List contents of directory using long format'
ls -lha $argv ls -lha $argv
end end
fzf_key_bindings
+1 -1
View File
@@ -5,7 +5,7 @@
# When changing a config option below, remove the '#' from the start of the line # When changing a config option below, remove the '#' from the start of the line
# For explanations of all config options below see docs/USAGE.md or the man page. # For explanations of all config options below see docs/USAGE.md or the man page.
# #
sync_dir="/mnt/OneDrive" sync_dir="~/OneDrive"
skip_dir="Bilder/Camera Roll|Backup|Datasets|Pictures|Videos" skip_dir="Bilder/Camera Roll|Backup|Datasets|Pictures|Videos"
skip_file=".~*|~*|*.tmp" skip_file=".~*|~*|*.tmp"
# monitor_interval = "45" # monitor_interval = "45"
+1
View File
@@ -57,6 +57,7 @@ bindsym $mod+w layout stacking
bindsym $mod+t layout tabbed bindsym $mod+t layout tabbed
bindsym $mod+e layout toggle split bindsym $mod+e layout toggle split
bindsym $mod+a focus parent bindsym $mod+a focus parent
bindsym $mod+Shift+a focus child
bindsym $mod+r reload bindsym $mod+r reload
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
+11 -12
View File
@@ -66,10 +66,14 @@ call plug#end()
if !&termguicolors if !&termguicolors
set termguicolors set termguicolors
endif endif
if &term =~ '256color'
set t_ut=
endif
if !exists('g:colors_name') if !exists('g:colors_name')
" let g:seoul256_background=233 let g:seoul256_background=236
" silent! colorscheme seoul256 silent! colorscheme seoul256
silent! colorscheme seoul256-light " silent! colorscheme seoul256-light
" silent! colorscheme base16-material-lighter
" silent! colorscheme base16-monokai " silent! colorscheme base16-monokai
" silent! colorscheme base16-tomorrow-night " silent! colorscheme base16-tomorrow-night
" seoul256 theme config: dark 233-239, light 252-256 " seoul256 theme config: dark 233-239, light 252-256
@@ -120,8 +124,8 @@ set undolevels=500 " Maximum number of changes that can be undone
set undoreload=5000 " Maximum number lines to save for undo on a buffer reload set undoreload=5000 " Maximum number lines to save for undo on a buffer reload
" search " search
set ignorecase " Case insensitive search " set ignorecase " Case insensitive search
set smartcase " ... but case sensitive when uc present " set smartcase " ... but case sensitive when uc present
" cursor " cursor
set scrolljump=1 " Line to scroll when cursor leaves screen set scrolljump=1 " Line to scroll when cursor leaves screen
@@ -402,12 +406,7 @@ let g:mkdp_preview_options={
" ***************************** " *****************************
" BULLETS " BULLETS
let g:bullets_outline_levels = ['ROM', 'ABC', 'num', 'abc', 'rom', 'std-', 'std*'] let g:bullets_outline_levels = ['ROM', 'ABC', 'num', 'abc', 'rom', 'std-', 'std*']
let g:bullets_enabled_file_types = [ let g:bullets_enabled_file_types = ['markdown', 'text', 'gitcommit']
\ 'markdown',
\ 'text',
\ 'gitcommit',
\ 'scratch'
\]
" ***************************** " *****************************
" autocmd " autocmd
@@ -422,7 +421,7 @@ augroup myAu " A unique name for the group. DO NOT use the same name twice!
autocmd FileType markdown,yaml setlocal tabstop=2 softtabstop=2 shiftwidth=2 autocmd FileType markdown,yaml setlocal tabstop=2 softtabstop=2 shiftwidth=2
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o " Disables automatic commenting on newline autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o " Disables automatic commenting on newline
autocmd BufEnter * if &filetype == "" | setlocal ft=none | endif " default new file is none autocmd BufEnter * if &filetype == "" | setlocal ft=none | endif " default new file is none
autocmd FileType * RainbowParentheses " autocmd FileType * RainbowParentheses
autocmd BufWritePre * %s/\s\+$//e " Automatically deletes all trailing whitespace on save. autocmd BufWritePre * %s/\s\+$//e " Automatically deletes all trailing whitespace on save.
autocmd BufReadPost quickfix nmap <buffer> <cr> <cr> " quickfix <cr> autocmd BufReadPost quickfix nmap <buffer> <cr> <cr> " quickfix <cr>
autocmd CompleteDone * if pumvisible() == 0 | pclose | endif " bugfix autocmd CompleteDone * if pumvisible() == 0 | pclose | endif " bugfix