diff options
| -rw-r--r-- | .bash_profile | 2 | ||||
| -rw-r--r-- | .bashrc | 1 | ||||
| -rw-r--r-- | .config/neofetch/config.conf | 8 | ||||
| -rw-r--r-- | .vim/vimrc | 44 | ||||
| -rw-r--r-- | .xbindkeysrc | 3 |
5 files changed, 49 insertions, 9 deletions
diff --git a/.bash_profile b/.bash_profile index 5545f00..ae4555c 100644 --- a/.bash_profile +++ b/.bash_profile @@ -3,3 +3,5 @@ # [[ -f ~/.bashrc ]] && . ~/.bashrc + +export PATH="$HOME/.cargo/bin:$PATH" @@ -18,7 +18,6 @@ match_lhs="" && match_lhs=$(dircolors --print-database) if [[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] ; then - # we have colors :-) # Enable colors for ls, etc. Prefer ~/.dir_colors diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf index 10430cc..715d9b9 100644 --- a/.config/neofetch/config.conf +++ b/.config/neofetch/config.conf @@ -34,8 +34,8 @@ print_info() { # info "Users" users # info "Locale" locale # This only works on glibc systems. - info line_break - info cols + #info line_break + #info cols #info line_break } @@ -451,7 +451,7 @@ mpc_args=() # Example: # colors=(distro) - Text is colored based on Distro colors. # colors=(4 6 1 8 8 6) - Text is colored in the order above. -colors=(4 7 7 4 4 7) +colors=(12 7 7 12 12 7) # Text Options @@ -635,7 +635,7 @@ ascii_distro="auto" # Example: # ascii_colors=(distro) - Ascii is colored based on Distro colors. # ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. -ascii_colors=(4 12 1 8 8 12) +ascii_colors=(12 12 1 8 8 12) # Bold ascii logo # Whether or not to bold the ascii logo. @@ -13,10 +13,14 @@ Plugin 'VundleVim/Vundle.vim' Plugin 'Valloric/YouCompleteMe' " file system explorer Plugin 'scrooloose/nerdtree' +" rust lang +Plugin 'rust-lang/rust.vim' +" syntastic +Plugin 'vim-syntastic/syntastic' " statusline " Plugin 'powerline/powerline' -"Plugin 'vim-airline/vim-airline' -"Plugin 'vim-airline/vim-airline-themes' +Plugin 'vim-airline/vim-airline' +Plugin 'vim-airline/vim-airline-themes' " The following are examples of different formats supported. " Keep Plugin commands between vundle#begin/end. " plugin on GitHub repo @@ -48,6 +52,10 @@ filetype plugin indent on " required " " see :h vundle for more details or wiki for FAQ " Put your non-Plugin stuff after this line +" + +hi clear SignColumn + function! HasPaste() if &paste return 'PASTE MODE ' @@ -71,6 +79,11 @@ set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ map <C-n> :NERDTreeToggle<CR> map <C-h> :set hlsearch!<CR> +"nnoremap <C-Left> :tabprevious<CR> +"nnoremap <C-Right> :tabnext<CR> + +nnoremap <C-l> :ls<CR>:b<space> + set hlsearch set incsearch @@ -132,3 +145,30 @@ let g:ycm_collect_identifiers_from_comments_and_strings=1 set backspace=indent,eol,start +" Rust +let g:rustfmt_autosave = 1 +"let g:ycm_rust_src_path = '~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/' +"let g:racer_experimental_completer = 1 +"let g:ycm_racerd_binary_path = '~/.cargo/bin/racer' +nnoremap <C-]> :YcmCompleter GoTo<CR> + +" Syntastic +set statusline+=%#warningmsg# +set statusline+=%{SyntasticStatuslineFlag()} +set statusline+=%* + +nnoremap <C-e> :SyntasticReset<CR> +let g:syntastic_always_populate_loc_list = 1 +let g:syntastic_auto_loc_list = 1 +let g:syntastic_check_on_open = 1 +let g:syntastic_check_on_wq = 0 + +" airline +let g:airline_theme='deus' +let g:airline_powerline_fonts = 1 +"let g:airline_symbols.space = "\ua0" +let g:airline_skip_empty_sections = 1 +" let timeoutlen = 10 + +let g:airline#extensions#tabline#enabled = 1 + diff --git a/.xbindkeysrc b/.xbindkeysrc index 622beb9..1ba3afd 100644 --- a/.xbindkeysrc +++ b/.xbindkeysrc @@ -39,7 +39,7 @@ # Examples of commands: -#"xbindkeys_show" +#"xbindkeys_show" # control+shift + q # set directly keycode (here control + f with my keyboard) @@ -53,7 +53,6 @@ "xdotool key --clearmodifiers Home" alt + Left + release - "xdotool key --clearmodifiers KP_End" alt + Right + release |
