Adding new stuff
This commit is contained in:
parent
bef81b1b4d
commit
713c32f3c0
3 changed files with 18 additions and 2 deletions
|
|
@ -30,6 +30,7 @@ alias svali_papka=download_github_folder
|
|||
alias omg="sudo service NetworkManager restart"
|
||||
alias zsh_fix="mv ~/.zsh_history ~/.zsh_history_bad; strings ~/.zsh_history_bad > ~/.zsh_history;fc -R ~/.zsh_history; rm ~/.zsh_history_bad"
|
||||
alias whatismyip="curl ifconfig.co"
|
||||
alias rmswp="find ~/.vim/tmp/ -iname \"*swp\" -delete"
|
||||
|
||||
function download_github_folder() {
|
||||
svn checkout $(echo $1 | sed "s/\/tree\/[a-zA-Z]\+/\/trunk/")
|
||||
|
|
|
|||
15
.vimrc
15
.vimrc
|
|
@ -4,6 +4,20 @@
|
|||
" Load rename plugin
|
||||
so ~/.vim/Rename.vim
|
||||
|
||||
" let g:EclimCompletionMethod = 'omnifunc'
|
||||
" Java Autocomplete
|
||||
let g:acp_behaviorJavaEclimLength=3
|
||||
function MeetsForJavaEclim(context)
|
||||
return g:acp_behaviorJavaEclimLength >= 0 &&
|
||||
\ a:context =~ '\k\.\k\{' . g:acp_behaviorJavaEclimLength . ',}$'
|
||||
endfunction
|
||||
let g:acp_behavior = {
|
||||
\ 'java': [{
|
||||
\ 'command': "\<c-x>\<c-u>",
|
||||
\ 'completefunc' : 'eclim#java#complete#CodeComplete',
|
||||
\ 'meets' : 'MeetsForJavaEclim',
|
||||
\ }]
|
||||
\ }
|
||||
|
||||
" Rezise splits
|
||||
"nnoremap <C-Left> :vertical resize -20<CR>
|
||||
|
|
@ -448,4 +462,3 @@ set matchtime=3
|
|||
nnoremap <silent> <F4> :syntax sync fromstart<CR>
|
||||
|
||||
autocmd FileType markdown syntax sync fromstart
|
||||
|
||||
|
|
|
|||
4
.zshrc
4
.zshrc
|
|
@ -61,6 +61,7 @@ HIST_STAMPS="dd.mm.yyyy"
|
|||
plugins=()
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
tmux source-file /home/viktor/.tmux.conf
|
||||
|
||||
# User configuration
|
||||
|
||||
|
|
@ -103,6 +104,7 @@ j () {
|
|||
|
||||
# . ~/.bash_completion
|
||||
|
||||
# Slows down shell.
|
||||
# source $ZSH/custom/plugins/zsh-git-prompt/zshrc.sh
|
||||
|
||||
|
||||
|
|
@ -126,4 +128,4 @@ eval "$(pyenv init -)"
|
|||
|
||||
export VIRTUALENVWRAPPER_PYTHON=python
|
||||
export WORKON_HOME=$HOME/.virtualenvs
|
||||
source /usr/local/bin/virtualenvwrapper.sh
|
||||
# source /usr/local/bin/virtualenvwrapper.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue