fle*_*exd 11 vim ubuntu archlinux
我不能让水平分割工作.Ctrl + Enter不执行任何操作,Ctrl + S不执行任何操作.
我一直在搞这个问题,到目前为止我发现的唯一解决方案与OSX有关.
在Arch Linux和Ubuntu上都有同样的问题(但也有相同的配置).
我没有使用Janus或类似的东西,只是一个非常基本的配置
set t_Co=256
set tabstop=2
set expandtab
set shiftwidth=2
set fileencoding=utf-8
set encoding=utf-8
set termencoding=utf-8
set showcmd
filetype plugin indent on
"color molokai
syntax enable
autocmd! BufNewFile * silent! 0r ~/.vim/skel/tmpl.%:e
set laststatus=2 " Always show the statusline
set backspace=indent,eol,start  " backspace through everything in insert mode
"" Searching
set hlsearch                    " highlight matches
set incsearch                   " incremental searching
set ignorecase                  " searches are case insensitive...
set smartcase                   " ... unless they contain at least one capital letter
call pathogen#infect()
colorscheme jellybeans
" use comma as <Leader> key instead of backslash
let mapleader=","
" Double <Leader> to switch between buffers
nnoremap <leader><leader> <c-^>
" double percentage sign in command mode is expanded
" to directory of current file - http://vimcasts.org/e/14
cnoremap %% <C-R>=expand('%:h').'/'<cr>
map <leader>f :CommandTFlush<cr>\|:CommandT<cr>
map <leader>F :CommandTFlush<cr>\|:CommandT %%<cr>
[~]$ ls .vim/bundle
rbenv:system 
command-t  jellybeans.vim  snipmate-snippets  tlib_vim  vim-addon-mw-utils  vim-powerline  vim-snipmate
我希望有人能够对此有所了解,这真的令人沮丧.
不完全确定什么是错的,但它偶尔会有效,但现在还没有.
按CTRL + S不执行任何操作,shift + enter只是在当前缓冲区中正常打开,然后按Ctrl + Enter直接跳转到Command-T中的搜索结果列表.
Ing*_*kat 17
在大多数终端,Vim可以不区分Enter和其与组合Ctrl或Shift,不幸的是; 这些只适用于GVIM.
终端的流量控制命令可能会干扰Ctrl-S和Ctrl-Q; 这可以修复(在终端中,而不是在Vim!中)
stty start undef stop undef
在〜/ .bashrc,〜/ .zshrc等
| 归档时间: | 
 | 
| 查看次数: | 1788 次 | 
| 最近记录: |