In my WinXP I write a bat file to start the putty which is connected to my linux for development.
D:\PuTTY-v0.60\putty.exe [email protected] -pw 123456
But I have to set the charset to utf-8 manually everytime when I do the login.I think it's quite a waste of time.So how can I do the setting more quickly?Thanks.
I've installed taglist and nerdtree plugins,and I wonder if there's way to quickly find the location where some function is defined,just as what Control and pressing function name in Eclipse does?Help would be appreciated!
When I copy some code from webpages and paste it to VIM,I find it becomes a mess style like a ladder as follows
xxxxxx
xxxxxx
xxxxxx
xxxxxxxxxx
Since it messed so regularly so I think maybe there's something wrong with my .vimrc which is as below:
set number
set nocompatible
set nowritebackup
set noswapfile
syntax on
filetype indent on
filetype plugin on
filetype on
set background=light
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set showmatch
set guioptions=T
set fileencodings=utf-8,prc
set ruler
set incsearch
map gs :%s
set t_Co=256
:colorscheme evening
filetype plugin indent on
Usually I write python in VIM.And help would be appreciated.
In my WinXP I write a bat file to start the putty which is connected to my linux for development.
D:\PuTTY-v0.60\putty.exe [email protected] -pw 123456
But I have to set the charset to utf-8 manually everytime when I do the login.I think it's quite a waste of time.So how can I do the setting more quickly?Thanks.
I find that when I type Chinese characters(encoded with utf-8) into VIM,I cannot see them at all while they do exist there.I can copy and paste them into other text editors and it seems everything is fine.How can I fix this problem?Thanks!
I've installed taglist and nerdtree plugins, and I wonder if there's way to quickly find the location where some function is defined, just as what Control and pressing function name in Eclipse does? Help would be appreciated!