Skip to content

Instantly share code, notes, and snippets.

View hugoroy's full-sized avatar

Hugo Roy hugoroy

View GitHub Profile
@hugoroy
hugoroy / arrows.vimrc
Last active December 18, 2015 17:59
Make arrows behave in VIM like in a GUI text editor. That way, you can have j and k features (going one line down and one line up), and <up> and <down> will go up and down on wrapped lines.
" make arrows behave like gui text editor
nnoremap <up> gk
nnoremap <down> gj
inoremap <up> <C-O>gk
inoremap <down> <C-O>gj
vnoremap <up> gk
vnoremap <down> gj
@hugoroy
hugoroy / gedit-hugoroy.xml
Created July 20, 2012 13:52
Gedit syntax highlithing theme
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2009 tm2gtksw2(Alexandre da Silva)
This file was generated from a textmate theme named Monokai
with tm2gtksw2 tool. (Alexandre da Silva)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either