I am relatively new to vim. I made my .vimrc
file watching different tutorial in order to use vim mainly as a python IDE. I am using pathogen
as plugin manager and I have recently installed python-mode
. However when typying :Helptags pymode
or :Helptags NerdTree
I get:
E488: Trailing characters
I suspect something is not right with my .vimrc
..Here is what I am using:
1 " Enable syntax highlight
0 syntax on
1 let python_highlight_all=1
2 " Highlight your search
3 set hlsearch
4 set number relativenumber
5 " Rebind <Leader> Key
6 let mapleader = ","
7
8 noremap <Leader>l :nohl<CR>
9
10 " Quicksave command
11 noremap <Leader>m :update<CR>
12
13 " Quickquit command
14 noremap <Leader>e :quit<CR> "Quit current wind
15 noremap <Leader>E :qa!<CR> "Quit all wind
16 nnoremap <leader>b :ls<cr>:b<space>
17
18
19 execute pathogen#infect()
20 call pathogen#helptags()
21
22 filetype plugin indent on
23 set number
24
25 " Setting vim-colors-solarized
26 " cd ~/.vim/bundle
27 " git clone git://github.com/altercation/vim-colors-solarized.git
28 " It worked with this: cp .vim/bundle/solarized/vim-colors-solarized /colors/solarized.vim ~/.vim/colors/
29 let g:solarized_termcolors=256
30 set t_Co=256
31 set background=dark
32 " Highlight useless white spaces
33 autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red
34 au InsertLeave * match ExtraWhitespace /\s\+$/
35 colorscheme solarized
36
37 let g:pymode_python='python3'
38
39 " Setting for NERDTree
40 " cd ~/.vim/bundle
41 " git clone https://github.com/scrooloose/nerdtree.git
42 " toggle NERDtree
43 map <Leader>n :NERDTreeToggle<CR>
Can somebody help me out? Thanks