Skip to content

Commit

Permalink
first version of modified RtlTree (copied from zhangguo)
Browse files Browse the repository at this point in the history
delete ctags_gen since write_tags has been added to automatic.vim
slightly modified vimrc for RtlTree
  • Loading branch information
HonkW93 committed Aug 1, 2021
1 parent a942095 commit 09cdd0c
Show file tree
Hide file tree
Showing 4 changed files with 1,127 additions and 114 deletions.
26 changes: 21 additions & 5 deletions orig/_vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,18 @@ behave mswin "mouse behavior
source $VIMRUNTIME/mswin.vim "remap a few keys for Windows
source $VIMRUNTIME/vimrc_example.vim "enhacement for Gvim use only
inoremap <special> jk <Esc>
set autochdir "automatic change directory based on the opened file
let mapleader = ";"
" restore cursor position in a file over several editing sessions
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif

" -------------------------------------------------------------
" GUI
" -------------------------------------------------------------
set guifont=consolas:b:h16 "character size & font
if has('win32') || has('win64')
set guifont=consolas:b:h16 "character size & font
elseif has('unix')
set guifont=Monospace\ 24 "character size & font
endif
set number "show line number
set background=light "light/dark
colorscheme desert "colorscheme
Expand Down Expand Up @@ -63,7 +66,11 @@ set undodir=$VIMRUNTIME\swap
"set undoreload=10000

" formats
set fileformats=dos
if has('win32') || has('win64')
set fileformats=dos
elseif has('unix')
set fileformats=unix
endif
set termencoding=utf-8
set fileencodings=utf-8,chinese,latin-1

Expand All @@ -72,7 +79,12 @@ set fileencodings=utf-8,chinese,latin-1
" -------------------------------------------------------------
" set runtime-path for plugin
set rtp+=$VIMRUNTIME/autoload/plug.vim
let path = '$VIMRUNTIME/../plugged'

if has('win32') || has('win64')
let path = '$VIMRUNTIME/../plugged'
elseif has('unix')
let path = '~/.vim/plugged'
endif

" call vim-plug
call plug#begin(path)
Expand Down Expand Up @@ -213,7 +225,10 @@ let b:match_words=
" miscellaneous
" -------------------------------------------------------------
" tags
" already included in automatic.vim, abadon here
"set tags=tags;
"set autochdir "automatic change directory based on the opened file

"let Tlist_Show_One_File=1
"let Tlist_Exit_OnlyWindow=1

Expand All @@ -223,4 +238,5 @@ let b:match_words=
"nmap vp :WMToggle<cr>

" Rtl Tree
" let t:RtlTreeVlogDefine = 1
let t:RtlTreeVlogDefine = 0

46 changes: 0 additions & 46 deletions orig/ctags_gen

This file was deleted.

Loading

0 comments on commit 09cdd0c

Please sign in to comment.