Skip to content

Instantly share code, notes, and snippets.

@cperl82
cperl82 / gist:1742684
Created February 5, 2012 04:22
Custom statusline for NERDTree with Powerline
diff --git a/autoload/Powerline/Matches.vim b/autoload/Powerline/Matches.vim
index 2244f57..98d9cde 100644
--- a/autoload/Powerline/Matches.vim
+++ b/autoload/Powerline/Matches.vim
@@ -2,6 +2,7 @@ let g:Powerline#Matches#matches = {
\ 'command_t' : Pl#Match#Add('bufname("%")', 'GoToFile'),
\ 'ft_help' : Pl#Match#Add('&ft' , 'help'),
\ 'ft_man' : Pl#Match#Add('&ft' , 'man'),
+ \ 'ft_nerdtree' : Pl#Match#Add('&ft' , 'nerdtree'),
\ 'ft_qf' : Pl#Match#Add('&ft' , 'qf'),
@mattetti
mattetti / rack_example.ru
Created December 8, 2011 13:58
Very basic rack application showing how to use a router based on the uri and how to process requests based on the HTTP method used.
#########################################
# Very basic rack application showing how to use a router based on the uri
# and how to process requests based on the HTTP method used.
#
# Usage:
# $ rackup rack_example.ru
#
# $ curl -X POST -d 'title=retire&body=I should retire in a nice island' localhost:9292/ideas
# $ curl -X POST -d 'title=ask Satish for a gift&body=Find a way to get Satish to send me a gift' localhost:9292/ideas
# $ curl localhost:9292/ideas
@endolith
endolith / Has weird right-to-left characters.txt
Last active April 29, 2025 03:07
Unicode kaomoji smileys emoticons emoji
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶