diff --git a/.profile b/.profile index a8b90d9..acadf7e 100644 --- a/.profile +++ b/.profile @@ -1,14 +1,8 @@ -# ~/.profile: executed by the command interpreter for login shells. -# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login -# exists. -# see /usr/share/doc/bash/examples/startup-files for examples. -# the files are located in the bash-doc package. +export VISUAL=vim +export EDITOR=vim +export PAGER=less +export BROWSER=/usr/bin/firefox -# the default umask is set in /etc/profile; for setting the umask -# for ssh logins, install and configure the libpam-umask package. -#umask 022 -VISUAL=vim -EDITOR=vim SSH_ENV="$HOME/.ssh/environment" function start_agent { @@ -37,5 +31,4 @@ if [ -n "$BASH_VERSION" ]; then fi fi -# set PATH so it includes user's private bin directories PATH="$HOME/bin:$HOME/.local/bin:$HOME/.bin/:$HOME/dotfiles/scripts/:$PATH" diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 7d1038a..710cf8f 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -24,8 +24,6 @@ bind - split-window -v unbind '"' unbind % -set -g default-command "/bin/bash" - # reload config file (change file location to your the tmux.conf you want to use) bind r source-file ~/.tmux.conf diff --git a/vim/.netrwhist b/vim/.netrwhist index 76bdb89..fdacd7b 100644 --- a/vim/.netrwhist +++ b/vim/.netrwhist @@ -1,4 +1,11 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhist_cnt =2 +let g:netrw_dirhist_cnt =9 let g:netrw_dirhist_1='/home/platvoeten/dotfiles/vim/ftplugin' let g:netrw_dirhist_2='/home/platvoeten' +let g:netrw_dirhist_3='/home/platvoeten/dotfiles/vim/colors' +let g:netrw_dirhist_4='/home/platvoeten' +let g:netrw_dirhist_5='/home/platvoeten/dotfiles/vim/colors' +let g:netrw_dirhist_6='/home/platvoeten' +let g:netrw_dirhist_7='/home/platvoeten/OMX_GUI' +let g:netrw_dirhist_8='/home/platvoeten/OMX_GUI/templates' +let g:netrw_dirhist_9='/home/platvoeten/OMX_GUI' diff --git a/vim/.vimrc b/vim/.vimrc index 20b6111..0043766 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -5,6 +5,9 @@ set autoindent " fix different locale settings when ssh'ing set encoding=utf-8 +" replace vertical split pipe character with space +set fillchars+=vert:\ + " syntax on syntax on @@ -31,9 +34,6 @@ set t_ut= " colorscheme colorscheme despacio -" automatically source vimrc on save. -autocmd! bufwritepost $MYVIMRC source $MYVIMRC - " line numbers set number @@ -64,26 +64,6 @@ highlight CursorLine cterm=none set laststatus=2 set statusline=\ %F\ %m%r%w\ %=\ %{hostname()}\ \ \ %{strlen(&ft)?&ft:'none'}\ %{(&bomb?\",BOM\":\"\")}\ %{&ff}\ \ %l/%L\ \ %c\ %P -" netrw options -function! ToggleVExplorer() - if exists("t:expl_buf_num") - let expl_win_num = bufwinnr(t:expl_buf_num) - if expl_win_num != -1 - let cur_win_nr = winnr() - exec expl_win_num . 'wincmd w' - close - exec cur_win_nr . 'wincmd w' - unlet t:expl_buf_num - else - unlet t:expl_buf_num - endif - else - exec '1wincmd w' - Vexplore - let t:expl_buf_num = bufnr("%") - endif -endfunction - " netrw settings let g:netrw_banner = 0 let g:netrw_winsize = -30 @@ -107,7 +87,7 @@ set pastetoggle= map :e " open netrw browser -map :call ToggleVExplorer() +map :Lexplore " tab for completion inoremap =Tab_Or_Complete()