Skip to content

Instantly share code, notes, and snippets.

@obfusk
Last active December 14, 2015 10:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save obfusk/5075670 to your computer and use it in GitHub Desktop.
Save obfusk/5075670 to your computer and use it in GitHub Desktop.
*rc (mostly [ge]vim)
copy/link *.desktop to ~/.local/share/applications/
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Chromium
Exec=/home/felix/opt/pkg/chromium/chrome-wrapper %U
Terminal=false
Icon=/home/felix/opt/pkg/chromium.svg
Type=Application
Categories=Application;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;
[Desktop Entry]
Version=1.0
Type=Application
Name=eVim
Exec=evim -p %U
Icon=vim
Terminal=false
StartupNotify=true
MimeType=text/plain;
Categories=GNOME;GTK;Utility;TextEditor;Development;
Keywords=Code;Editor;Programming;
[Desktop Entry]
Version=1.0
Type=Application
Name=gVim
Exec=gvim -p %U
Icon=vim
Terminal=false
StartupNotify=true
MimeType=text/plain;
Categories=GNOME;GTK;Utility;TextEditor;Development;
Keywords=Code;Editor;Programming;
set gfn=Ubuntu\ Mono\ 13 bg=light lines=40 co=80
if &insertmode " evim
" CTRL-ALT-N is New tab
noremap <C-A-N> :tabnew<CR>
inoremap <C-A-N> <C-O>:tabnew<CR>
cnoremap <C-A-N> <C-C>:tabnew<CR>
onoremap <C-A-N> <C-C>:tabnew<CR>
" CTRL-ALT-O is Open in new tab
noremap <C-A-O> :browse tabnew<CR>
inoremap <C-A-O> <C-O>:browse tabnew<CR>
cnoremap <C-A-O> <C-C>:browse tabnew<CR>
onoremap <C-A-O> <C-C>:browse tabnew<CR>
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment