Skip to content

Instantly share code, notes, and snippets.

@ScorpiusZ
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save ScorpiusZ/3a236c309c23e923933f to your computer and use it in GitHub Desktop.

Select an option

Save ScorpiusZ/3a236c309c23e923933f to your computer and use it in GitHub Desktop.

Revisions

  1. ScorpiusZ revised this gist Dec 17, 2014. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions cvimrc
    Original file line number Diff line number Diff line change
    @@ -32,8 +32,6 @@ let mapleader = ","
    map <Leader>r reloadTabUncached
    map <Leader>x :restore<Space>

    " This remaps the default 'f' mapping to the current 'F' mapping
    map f F

    " Toggle the current HUD display value
    map <C-h> :set hud!<CR>
  2. ScorpiusZ revised this gist Dec 17, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion cvimrc
    Original file line number Diff line number Diff line change
    @@ -45,4 +45,4 @@ map <C-i> :set numerichints!<CR>
    map yf gy

    " delete word
    imap <c-w> deleteWord
    imap <C-w> deleteWord
  3. ScorpiusZ revised this gist Dec 17, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion cvimrc
    Original file line number Diff line number Diff line change
    @@ -45,4 +45,4 @@ map <C-i> :set numerichints!<CR>
    map yf gy

    " delete word
    map <c-w> deleteWord
    imap <c-w> deleteWord
  4. ScorpiusZ revised this gist Dec 17, 2014. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions cvimrc
    Original file line number Diff line number Diff line change
    @@ -43,3 +43,6 @@ map <C-i> :set numerichints!<CR>

    " yank the chosen hint url
    map yf gy

    " delete word
    map <c-w> deleteWord
  5. ScorpiusZ revised this gist Dec 17, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions cvimrc
    Original file line number Diff line number Diff line change
    @@ -41,4 +41,5 @@ map <C-h> :set hud!<CR>
    " Switch between alphabetical hint characters and numeric hints
    map <C-i> :set numerichints!<CR>

    " yank the chosen hint url
    map yf gy
  6. ScorpiusZ revised this gist Dec 17, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions cvimrc
    Original file line number Diff line number Diff line change
    @@ -41,3 +41,4 @@ map <C-h> :set hud!<CR>
    " Switch between alphabetical hint characters and numeric hints
    map <C-i> :set numerichints!<CR>

    map yf gy
  7. ScorpiusZ created this gist Dec 17, 2014.
    43 changes: 43 additions & 0 deletions cvimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,43 @@
    " Settings
    set nohud
    set nosmoothscroll
    set noautofocus " The opposite of autofocus; this setting stops
    " sites from focusing on an input box when they load
    set typelinkhints
    let searchlimit = 30
    let scrollstep = 70
    let barposition = "bottom"


    let hintcharacters = "sadfjklewcmpgh"

    let completionengines = ["google", "baidu", "github", "dogpile"]

    let searchalias g = "google" " Create a shortcut for search engines.
    " For example, typing ':tabnew g example'
    " would act the same way as ':tabnew google example'

    " Open all of these in a tab with `gnb` or open one of these with <N>goa where <N>
    let qmark g = ["http://www.github.com"]
    let qmark t = ["https://trello.com/b/RYoDfsTl/v2"]
    let qmark v = ["http://www.v2ex.com/?tab=tech"]
    let qmark z = ["http://www.zhihu.com/"]


    let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*"]
    let mapleader = ","

    " Mappings

    map <Leader>r reloadTabUncached
    map <Leader>x :restore<Space>

    " This remaps the default 'f' mapping to the current 'F' mapping
    map f F

    " Toggle the current HUD display value
    map <C-h> :set hud!<CR>

    " Switch between alphabetical hint characters and numeric hints
    map <C-i> :set numerichints!<CR>