Hi,
I would like to be able to set a new position for the cursor in vim with a left-button click while in insert mode. It works when I am in command mode, but not when I am in insert mode. Is that possible to do? My current .vimrc is shown below.
Thanks
Alex
"set t_kb=<press CTRL+V><press backspace>
fixdel
set nocompatible
set backspace=indent,eol,start
:set backspace=2
" to have mouse enabled in normal mode
set mouse=n
" enter spaces when tab is pressed:
set expandtab
" do not break lines when line lenght increases
set textwidth=0
" user 4 spaces to represent a tab
set tabstop=4
set softtabstop=4
" number of space to use for auto indent
" you can use >> or << keys to indent current line or selection
" in normal mode.
set shiftwidth=4
" Copy indent from current line when starting a new line.
set autoindent
" makes backspace key more powerful.
"set backspace=indent,eol,start
" shows the match while typing
set incsearch
" case insensitive search
set ignorecase
" show line and column number
set ruler
" show some autocomplete options in status bar
set wildmenu
" automatically save and restore folds
au BufWinLeave * mkview
au BufWinEnter * silent loadview
syntax on
" this lets us put the marker in the file so that
" it can be shared across and stored in version control.
set foldmethod=marker
" this is for python, put
" # name for the folded text # {{{
" to begin marker and
" # }}}
" close to end it.
set commentstring=\ #\ %s
" default fold level, all open, set it 200 or something
" to make it all closed.
set foldlevel=0
" share clipboard with windows clipboard
set clipboard+=unnamed
" set viminfo='100,f1
" minibufexplorer settings:j
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchWindows = 1
"#set backspace=indent,eol,start
"set nocompatible
"set smartindent
set term=xterm
set t_kb=
" copy to here end of .vimrc
set pastetoggle=<F1>
noremap <F1> :set paste!<C-m>
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment