Made status bar transparent
Adjusted workspace icons to compensate. Also made vimrc autoreload itself when saved.
This commit is contained in:
@@ -38,6 +38,10 @@ autocmd BufNewFile,BufRead *.md set filetype=markdown
|
||||
autocmd Filetype markdown set textwidth=0
|
||||
|
||||
autocmd BufWritePost key_*.txt !bash ~/linux-config/scripts/shortcuts.sh
|
||||
augroup myvimrc
|
||||
au!
|
||||
au BufWritePost .vimrc,_vimrc,vimrc,.gvimrc,_gvimrc,gvimrc so $MYVIMRC | if has('gui_running') | so $MYGVIMRC | endif
|
||||
augroup END
|
||||
|
||||
" }}} commands for file types "
|
||||
|
||||
@@ -157,7 +161,8 @@ nnoremap <F10> :set paste<CR>"+p:set nopaste<CR>
|
||||
" }}} function keys "
|
||||
|
||||
map <S-Enter> O<ESC>
|
||||
vnoremap <C-X> <Esc>`.``gvP``P
|
||||
" swap text visually
|
||||
vnoremap <C-P> <Esc>`.``gvP``P
|
||||
|
||||
" splits {{{ "
|
||||
nnoremap <C-Down> <C-W><C-J>
|
||||
@@ -207,6 +212,8 @@ nnoremap <leader>py :set tw=0<CR>
|
||||
nnoremap <leader>r q:i.,.+s///g<ESC>Fsi
|
||||
" replace in line
|
||||
nnoremap <leader>rl q:i.s///g<left><left><left>
|
||||
" replace in visual selection
|
||||
vnoremap <leader>r q:is///g<ESC>3ha
|
||||
" reload vim config
|
||||
nnoremap <leader>rv :source $MYVIMRC<CR>
|
||||
" replace in entire file
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# ZSH_THEME="miloshadzic"
|
||||
ZSH_THEME="bira"
|
||||
|
||||
# default {{{ #
|
||||
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
@@ -10,8 +13,6 @@
|
||||
# Set name of the theme to load. Optionally, if you set this to "random"
|
||||
# it'll load a random theme each time that oh-my-zsh is loaded.
|
||||
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
||||
# ZSH_THEME="miloshadzic"
|
||||
ZSH_THEME="bira"
|
||||
|
||||
# Set list of themes to load
|
||||
# Setting this variable when ZSH_THEME=random
|
||||
|
||||
Reference in New Issue
Block a user