I'm going nuts trying to get this mapping to work. It's so simple yet doesn't work.
with the mapping removed moves me off of nerd tree to the main window to it's right. Great.
When I added the following mapping, nothing happens with z;
nnoremap ; l
nnoremap l k
nnoremap k j
nnoremap j h
nnoremap <C-W><Up> zl
nnoremap <C-W><Down> zk
nnoremap <C-W><Left> zj
nnoremap <C-W><Right> z;
EDIT: I've pasted my entire vimrc below:
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
set textwidth=0
set backspace=indent,eol,start
set laststatus=1
set winwidth=9
set backupcopy=yes
syntax on
filetype plugin on
colorscheme molokai
set wildignore+=*/node_modules/*,*/migrations/*,*.swp,
set t_Co=256
nnoremap ; l
nnoremap l k
nnoremap k j
nnoremap j h
nmap <C-W><Down> zk
nnoremap <C-W><Right> zl
set number
set nowrap
set cursorline
set autoindent
set splitright
set splitbelow
set copyindent
set preserveindent
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree'
Plug 'vim-syntastic/syntastic'
Plug 'nvie/vim-flake8'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'scrooloose/nerdcommenter'
Plug 'ntpeters/vim-better-whitespace'
Plug 'ap/vim-css-color'
Plug 'pangloss/vim-javascript'
Plug 'mxw/vim-jsx'
Plug 'ctrlpvim/ctrlp.vim'
Plug 't9md/vim-choosewin'
Plug 'tikhomirov/vim-glsl'
call plug#end()
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_loc_list_height = 5
let g:syntastic_auto_loc_list = 0
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 1
let g:syntastic_check_on_w = 1
let g:syntastic_javascript_checkers = ['eslint']
let g:syntastic_error_symbol = 'x'
let g:syntastic_warning_symbol = '~'
let g:syntastic_style_error_symbol = '⚠️'
let g:syntastic_style_warning_symbol = ''
let NERDTreeShowHidden=1
autocmd vimenter * NERDTree
let g:NERDTreeDirArrowExpandable = '>'
let g:NERDTreeDirArrowCollapsible = 'v'
highlight link SyntasticErrorSign SignColumn
highlight link SyntasticWarningSign SignColumn
highlight link SyntasticStyleErrorSign SignColumn
highlight link SyntasticStyleWarningSign SignColumn
" ---- PEP8 ----
"" Ignore module level import, and line too long.
let g:pymode_lint_ignore="E402,E501"
" choosewin
nmap - <Plug>(choosewin)
let g:choosewin_overlay_enable = 1
It's so simple, it should just work. I have a feeling something else is breaking. I'm going to copy paste my whole vimrc in the OP
– Sophie McCarrell Dec 26 '18 at 22:39