diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-04-09 08:22:59 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-04-09 08:22:59 +0100 |
commit | 461bcdad1fc308f5c8a0defb51d1a015e943600c (patch) | |
tree | 0199a31a19fbfd0d4d97657c3bcecfd53c7f48bb | |
parent | 0e325e0ac2110e9832aae051bb21f05dc6f8ccdc (diff) |
[i3] Correct battery script
-rw-r--r-- | bash/.bashrc | 2 | ||||
-rwxr-xr-x | i3/.config/i3blocks/bin/battery | 2 | ||||
-rw-r--r-- | vim/.vimrc | 10 |
3 files changed, 12 insertions, 2 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index 9f4e80d..3d0e6bd 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -7,3 +7,5 @@ fi # FZF [ -f ~/.fzf.bash ] && source ~/.fzf.bash + +source ~/.zgen/urbainvaes/fzf-marks-master/fzf-marks.plugin.bash diff --git a/i3/.config/i3blocks/bin/battery b/i3/.config/i3blocks/bin/battery index 7c7d76c..378ee3f 100755 --- a/i3/.config/i3blocks/bin/battery +++ b/i3/.config/i3blocks/bin/battery @@ -44,6 +44,6 @@ fi time_remaining=$(printf "%02d:%02d" \ $(( tot_minutes_remaining/60 )) \ - $(( tot_minutes_remaining/60 ))) + $(( tot_minutes_remaining - (tot_minutes_remaining/60)*60 ))) echo "<span color='$color'>$icon</span> $charge_percent% ($time_remaining)" @@ -17,6 +17,7 @@ Plug 'SirVer/ultisnips' Plug 'airblade/vim-gitgutter' Plug 'AndrewRadev/splitjoin.vim' Plug 'arcticicestudio/nord-vim' +Plug 'autozimu/LanguageClient-neovim' Plug 'beloglazov/vim-online-thesaurus' Plug 'christoomey/vim-tmux-navigator' Plug 'critiqjo/lldb.nvim' @@ -66,6 +67,7 @@ Plug 'vim-scripts/ReplaceWithRegister' Plug 'vim-scripts/gmsh.vim' Plug 'wellle/targets.vim' +" Plug 'urbainvaes/vim-remembrall' Plug '~/Dropbox/projects/vim-remembrall/' if has("nvim") " Plug 'roxma/nvim-completion-manager' @@ -210,6 +212,13 @@ let g:NERDTreeHijackNetrw = 0 " Remembrall nnoremap <silent> ,, :call remembrall#remind('n', '')<cr> +nnoremap <silent> y :<c-u>call remembrall#remind('n', 'y')<cr> +let g:remembrall_suffixes=['', '?'] +let g:remembrall_window='botright 10new' + +augroup remembrall + autocmd FileType tex nnoremap <buffer> <nowait> <expr> ,l Remembrall('n', ',l') +augroup END " Ultisnips let g:UltiSnipsEditSplit="horizontal" @@ -400,7 +409,6 @@ nnoremap ,cn :call MyColo("nord")<cr> augroup vimrc autocmd! autocmd BufWritePost *vimrc,*exrc :call feedkeys(":source %\<cr>") - " autocmd BufWritePost *vimrc,*exrc :source % autocmd BufNewFile,Bufread /tmp/mutt-* setlocal tw=72 autocmd BufWritePre * \ if !isdirectory(expand('<afile>:p:h')) | |