From: Samir Benmendil Date: Mon, 24 Oct 2016 08:20:22 +0000 (+0100) Subject: Merge remote-tracking branch 'refs/remotes/origin/master' X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/30a510867ee248d937c772c091ce2b1f15bab755?hp=-c Merge remote-tracking branch 'refs/remotes/origin/master' --- 30a510867ee248d937c772c091ce2b1f15bab755 diff --combined awesome/topbar.lua index b816365,7986af0..4d5d505 --- a/awesome/topbar.lua +++ b/awesome/topbar.lua @@@ -89,11 -89,9 +89,9 @@@ for s = 1, screen.count() d local right_layout = wibox.layout.fixed.horizontal() if s == 1 then right_layout:add(wibox.widget.systray()) end right_layout:add(separator) - right_layout:add(require("widgets/pomodoro")) - right_layout:add(separator) right_layout:add(require("widgets/awesompd")) right_layout:add(require("widgets/volume_widget")) - if utils.host == "chronos" then + if utils.has_battery() then right_layout:add(separator) right_layout:add(require("widgets/battery_widget")) end diff --combined vim/vimrc index 9338067,636350f..47529e3 --- a/vim/vimrc +++ b/vim/vimrc @@@ -72,6 -72,7 +72,7 @@@ Plugin 'derekwyatt/vim-protodef " needs editing colorscheme " Plugin 'jeaye/color_coded' " Check LucHermites plugins: https://github.com/LucHermitte/lh-cpp + Plugin 'wincent/loupe' call vundle#end() @@@ -156,10 -157,18 +157,18 @@@ set mouse=rnv " list set ttymouse=xterm " type of mouse " messages and info {{{2 - set showcmd " Show (partial) command in status line. - set ruler " show the cursor position all the time - set confirm " Ask what to do when closing unsaved documents - set shortmess=filnxtoOI " don't show intro message + set showcmd " Show (partial) command in status line. + set ruler " show the cursor position all the time + set confirm " Ask what to do when closing unsaved documents + set shortmess= " reset option + set shortmess+=a " all abbreviations + set shortmess+=o " overwrite file-written message + set shortmess+=O " file-read message overrides previous + set shortmess+=t " truncate file message at start + set shortmess+=T " truncate other messages in the middle + set shortmess+=W " don't give 'written' or '[w]' when writing a file + set shortmess+=A " ignore swapfile warning + set shortmess+=I " no splash screen " editing text {{{2 set backspace=indent,eol,start " allow backspacing over everything in insert mode @@@ -435,9 -444,9 +444,9 @@@ nnoremap zx zMzxz map :ls:b -" move between windows -nnoremap w -nnoremap W +" move between windows (skip previewwindow) +nnoremap w:if &previewwindow \| wincmd w \| endif +nnoremap W:if &previewwindow \| wincmd W \| endif "xterm mouse with middleclick paste nnoremap i @@@ -647,7 -656,7 +656,7 @@@ let g:unite_source_grep_max_candidates if executable('ag') " Use ag in unite grep source. let g:unite_source_grep_command = 'ag' - let g:unite_source_grep_default_opts = '--smart-case --vimgrep --hidden --ignore ''.hg'' --ignore ''.svn'' --ignore ''.git'' --ignore ''.bzr''' + let g:unite_source_grep_default_opts = '--smart-case --vimgrep --ignore ''.hg'' --ignore ''.svn'' --ignore ''.git'' --ignore ''.bzr''' let g:unite_source_grep_recursive_opt = '' end nnoremap [unite]a :Unite grep:.:: @@@ -656,7 -665,7 +665,7 @@@ command! -nargs=1 Ag Unite grep:.:: [unite]f :Unite -start-insert file_rec/async call unite#custom#source('file_rec/async', 'sorters', 'sorter_selecta')