Skip to content

Instantly share code, notes, and snippets.

@ajeebkp23
Last active January 21, 2024 23:23
Show Gist options
  • Save ajeebkp23/3a350201305cd9d5d359 to your computer and use it in GitHub Desktop.
Save ajeebkp23/3a350201305cd9d5d359 to your computer and use it in GitHub Desktop.
My vimrc for any system
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
set nu
set ic
set is
set smartindent
set clipboard=unnamed,unnamedplus
syntax on
@ajeebkp23
Copy link
Author

ajeebkp23 commented Nov 14, 2015

set clipboard=unnamedplus works with Gnome 3

Also install some GUI version of vim like vim-gtk3, vim-gtk, or vim-athena for making clipboard work (Because, the plain vim is not compiled with clipboard flags enabled).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment