Various changes.
This commit is contained in:
@@ -37,5 +37,5 @@ bar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
i3bar_command i3bar
|
i3bar_command i3bar
|
||||||
status_command i3status --config $path_i3status_config
|
status_command conky --config ~/.i3/conky/netbook.conky
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ thunar-media-tags-plugin
|
|||||||
docky
|
docky
|
||||||
conky
|
conky
|
||||||
dzen2
|
dzen2
|
||||||
|
# color pickers
|
||||||
|
gcolor2
|
||||||
|
|
||||||
### documents
|
### documents
|
||||||
# pdf reader
|
# pdf reader
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
[[default]]
|
[[default]]
|
||||||
scrollbar_position = hidden
|
scrollbar_position = hidden
|
||||||
palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
|
palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
|
||||||
font = Deja Vu Sans Mono 10
|
font = Consolas 11
|
||||||
background_image = None
|
background_image = None
|
||||||
background_darkness = 0.9
|
background_darkness = 0.9
|
||||||
urgent_bell = True
|
urgent_bell = True
|
||||||
|
|||||||
34
vim/vimrc
34
vim/vimrc
@@ -93,7 +93,9 @@ set nobackup " do not create a backup
|
|||||||
set nowritebackup
|
set nowritebackup
|
||||||
|
|
||||||
|
|
||||||
set showmode " show the current mode
|
set noshowmode " do not show the current mode, as this
|
||||||
|
" will be handled by vim-airline in the
|
||||||
|
" statusline
|
||||||
set cursorline " highlight the current line
|
set cursorline " highlight the current line
|
||||||
set number " enable linenumbers
|
set number " enable linenumbers
|
||||||
set numberwidth=2 " only use as many columns for the line
|
set numberwidth=2 " only use as many columns for the line
|
||||||
@@ -105,6 +107,7 @@ set relativenumber " show file numbers relative to the current
|
|||||||
set showmatch " show matching brackets/parentheses
|
set showmatch " show matching brackets/parentheses
|
||||||
set incsearch " show matches while typing in a search
|
set incsearch " show matches while typing in a search
|
||||||
set hlsearch " highlight matches in a search
|
set hlsearch " highlight matches in a search
|
||||||
|
set wrapscan " wrap searches at the end of the file
|
||||||
|
|
||||||
set ignorecase " ignore case when only searching for
|
set ignorecase " ignore case when only searching for
|
||||||
" lowercase
|
" lowercase
|
||||||
@@ -150,6 +153,7 @@ set autoindent " copy indent from current line when
|
|||||||
set smartindent " smart indenting for C-like languages
|
set smartindent " smart indenting for C-like languages
|
||||||
set smarttab " use shiftwidth when tabbing in front of
|
set smarttab " use shiftwidth when tabbing in front of
|
||||||
" a line instead of tabsstop/softtabstop
|
" a line instead of tabsstop/softtabstop
|
||||||
|
set shiftround " round indent to multiples of shiftwidth
|
||||||
|
|
||||||
set undofile " use an undo file
|
set undofile " use an undo file
|
||||||
set undodir=~/.vim/undo " store undo files in a fixed directory
|
set undodir=~/.vim/undo " store undo files in a fixed directory
|
||||||
@@ -179,14 +183,33 @@ set wildmode=list:longest " automatically complete up to the level
|
|||||||
set autochdir " automatically change to the directory that
|
set autochdir " automatically change to the directory that
|
||||||
" contains the file that is edited
|
" contains the file that is edited
|
||||||
|
|
||||||
|
set matchpairs="(:),{:},[:]" " matching pairs for the '%'-command
|
||||||
|
|
||||||
|
set notildeop " do not make '~' behave like an operator
|
||||||
|
|
||||||
|
set virtualedit="block" " allow moving the cursor where there is no
|
||||||
|
" actual character in virtual block mode
|
||||||
|
|
||||||
|
set wildignore=*.swp,*.bak,*.pyc " files to ignore when expanding wildcards
|
||||||
|
|
||||||
|
set noerrorbells " do not beep on errors
|
||||||
|
|
||||||
|
set list " show specific spectial characters
|
||||||
|
set listchars=trail:~ " trailing whitespace as '~'
|
||||||
|
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
|
|
||||||
"nnoremap / /\v
|
" enable 'very-magic' in regex
|
||||||
"vnoremap / /\v
|
nnoremap / /\v
|
||||||
nnoremap <leader><space> :noh<cr>
|
vnoremap / /\v
|
||||||
|
|
||||||
|
nnoremap <leader><space> :nohlsearch<CR>
|
||||||
nnoremap <tab> %
|
nnoremap <tab> %
|
||||||
vnoremap <tab> %
|
vnoremap <tab> %
|
||||||
|
|
||||||
|
" make Y behave like other capitals, otherwise Y would work like yy
|
||||||
|
nnoremap Y y$
|
||||||
|
|
||||||
nnoremap j gj
|
nnoremap j gj
|
||||||
nnoremap k gk
|
nnoremap k gk
|
||||||
|
|
||||||
@@ -194,6 +217,9 @@ function! TrimWhiteSpace()
|
|||||||
%s/\s\+$//e
|
%s/\s\+$//e
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
" automatically reload .vimrc when it's saved
|
||||||
|
autocmd BufWritePost .vimrc source ~/.vimrc
|
||||||
|
|
||||||
autocmd FileWritePre * :call TrimWhiteSpace()
|
autocmd FileWritePre * :call TrimWhiteSpace()
|
||||||
autocmd FileAppendPre * :call TrimWhiteSpace()
|
autocmd FileAppendPre * :call TrimWhiteSpace()
|
||||||
autocmd FilterWritePre * :call TrimWhiteSpace()
|
autocmd FilterWritePre * :call TrimWhiteSpace()
|
||||||
|
|||||||
Reference in New Issue
Block a user