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>

Comments

Popular posts from this blog

Switching from Docker Desktop to Rancher Desktop on WSL2: Solving the Missing docker-credential-desktop.exe Error

Running LXD/LXC on WSL2 with Ubuntu 20.04

Proxmox Remote administration via VNC