Skip to content

Instantly share code, notes, and snippets.

@FSX
Created December 20, 2015 23:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FSX/a5e662d6fb3e7753335f to your computer and use it in GitHub Desktop.
Save FSX/a5e662d6fb3e7753335f to your computer and use it in GitHub Desktop.
howl.config.indent = 4
howl.mode.by_name('python').config.indent = 4
howl.mode.by_name('golang').config.tab_indents = true
howl.bindings.push {
editor = {
ctrl_a = 'cursor-home',
ctrl_e = 'cursor-line-end',
ctrl_shift_a = 'cursor-home-extend',
ctrl_shift_e = 'cursor-line-end-extend',
ctrl_n = 'new-buffer',
ctrl_b = 'switch-buffer',
ctrl_w = 'buffer-close',
ctrl_g = 'buffer-structure',
ctrl_q = 'quit',
ctrl_slash = 'editor-toggle-comment',
ctrl_e = 'run',
-- http://howl.io/doc/manual/views.html
shift_alt_left = 'view-left-or-create',
shift_alt_right = 'view-right-or-create',
shift_alt_up = 'view-up-or-create',
shift_alt_down = 'view-down-or-create',
ctrl_shift_w = 'view-close',
},
ctrl_x = {
ctrl_f = 'open',
ctrl_s = 'save'
},
ctrl_f = {
ctrl_d = 'show-doc-at-cursor',
ctrl_c = 'buffer-replace',
ctrl_v = 'buffer-replace-regex',
ctrl_g = 'buffer-grep',
ctrl_f = 'buffer-search-forward',
ctrl_r = 'buffer-search-backward',
ctrl_period = 'buffer-search-word-forward',
ctrl_comma = 'buffer-search-word-backward',
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment