我不能水平拆分工作。 Ctrl + Enter什么也不做,Ctrl + S什么也不做。
我一直在这样做一点,迄今为止唯一的解决scheme是与OSX有关。
在Arch Linux和Ubuntu上,都有相同的问题(也是相同的configuration)。
我没有使用Janus或类似的东西,只是一个非常基本的configuration
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 %% <CR>=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中search结果列表。
在大多数终端中,不幸的是,Vim无法用Ctrl或Shift区分Enter和它的组合。 这些只能在GVIM中使用。
终端的流量控制命令可能会干扰Ctrl-S和Ctrl-Q; 这可以是固定的(在终端中,而不是在Vim中)
stty start undef stop undef
在〜/ .bashrc,〜/ .zshrc等