VIM as an IDE
In order to enable python code completion add this to the vimrc file
autocmd FileType python set omnifunc=pythoncomplete#Complete
In order to edit the file on a standard unix system, type:
vim ~/.vimrc
In order to use code completion, you can type CTRL+X followed by CTRL+O.
For an easier shortcut, more similar to IDE's such as Visual Studio (CTRL+SPACE) type the following in vimrc:
inoremap <Nul> <C-x><C-o>
autocmd FileType python set omnifunc=pythoncomplete#Complete
In order to edit the file on a standard unix system, type:
vim ~/.vimrc
In order to use code completion, you can type CTRL+X followed by CTRL+O.
For an easier shortcut, more similar to IDE's such as Visual Studio (CTRL+SPACE) type the following in vimrc:
inoremap <Nul> <C-x><C-o>
Comments
Post a Comment