Replace vertsplit characters
This commit is contained in:
parent
f52635b641
commit
9be742a99b
4 changed files with 16 additions and 38 deletions
15
.profile
15
.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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
28
vim/.vimrc
28
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=<F2>
|
|||
map <F5> :e <CR>
|
||||
|
||||
" open netrw browser
|
||||
map <silent> <C-E> :call ToggleVExplorer()<CR>
|
||||
map <silent> <C-E> :Lexplore <CR>
|
||||
|
||||
" tab for completion
|
||||
inoremap <Tab> <C-R>=Tab_Or_Complete()<CR>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue