langmap和Vimroom之间可能存在冲突

时间:2012-11-19 00:16:33

标签: vim

最近对使用Vim感到'认真'( - ish),我很高兴看到'VimRooom'脚本。

问题

问题是我刚刚发现了用于重新配置hjkl键的langmap选项,并且似乎存在某种冲突,这会阻止移动键的新配置与Vimroom切换一起使用。

问题

我害怕说我不明白langmap命令足以知道为什么会发生这样的冲突,我希望有人能解释这个问题/建议修复一下吗?

我现在的.vimrc:

set nocompatible               " be iMproved

filetype off                   " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()

" let Vundle manage Vundle
Bundle 'gmarik/vundle'

" My Bundles here:
"Bundle 'flazz/vim-colorschemes'
"Bundle 'vim-scripts/CSApprox'
Bundle 'altercation/vim-colors-solarized'
Bundle 'dnebauer/AutomaticLaTeXPlugin'
Bundle 'mikewest/vimroom'

" vim-scripts repos
Bundle 'L9'
Bundle 'FuzzyFinder'
" non github repos
Bundle 'git://git.wincent.com/command-t.git'


" Colour scheme options
syntax on
set background=dark
set t_Co=16
let g:solarized_termcolors=16
colorscheme solarized

"Line formatting options
set linebreak
set tw=100
set fo+=t
"set foldcolumn=12
set tabstop=4

"Basic Keybindings
"Movement
set langmap=hk,mj,th,nl,kt,jm,ln

"Display options
set scrolloff=999

"Settings for Automatic LaTeX
filetype plugin on
filetype indent on
filetype on

"Search Settings
set smartcase

"Vimroom Settings
let g:vimroom_sidebar_height=0

N.B。在使用Dvorak布局时,所需的hjkl重映射(缺少更好的短语)才有意义。

0 个答案:

没有答案