Hot answers tagged

2

The answer lay in pursuing my inclination that a wrapper script was needed, with that script providing the means to run an interactive subshell (-i option to bash): /usr/local/bin/vim-gnome-wrap #!/bin/bash -f bash -ic 'vim "$@"' vim "$@" ... then edit /usr/share/applications/vim.desktop or copy it to a new *.desktop file, with these changes: ...


1

Try installing vim-gnome instead of vim. sudo apt-get install vim-gnome If that can help, you can install the package python-support by downloading the latest version of python-support_X.X.X_all.deb there : https://launchpad.net/ubuntu/+source/python-support Open a terminal in same folder and install with: dpkg -i python-support_X.X.X_all.deb See if it ...


1

If you want Python 3 support in vim, install the vim-nox package (sudo apt install vim-nox). However, if you still need Python 2 support, install the vim-nox-py2 package (sudo apt install vim-nox-py2).


1

Finally found the answer. The problem was that by default full color support in ~/.bashrc and ~/.vimrc is disabled. I did not face this problem on Ubuntu 15. I found a fix here: How do I enable full-color support in Vim?. So all I had to do is to insert if $COLORTERM == 'gnome-terminal' set t_Co=256 endif in my ~/.vimrc UPDATE As @muru said it's ...


1

remove vim and install vim-gnome. sudo apt-get install vim-gnome


1

This problem has been discussed on Unix & Linux. Quite simply, there's no real way to do this. The simplest workaround is to run Vim in screen or tmux. Instead of: Exec=vim %F Have: Exec=screen vim %F Then, even if you do close the terminal, you can open another terminal and resume the session: $ pgrep screen -a 974 gnome-screensaver 7853 SCREEN ...



Only top voted, non community-wiki answers of a minimum length are eligible