All Projects → sunaku → Vim Dasht

sunaku / Vim Dasht

💁 (Neo)Vim plugin for dasht integration

Projects that are alternatives of or similar to Vim Dasht

Vimcompletesme
You don't Complete Me; Vim Completes Me! A super simple, super minimal, super light-weight tab completion plugin for Vim.
Stars: ✭ 752 (+623.08%)
Mutual labels:  vim-plugins
Rogue.vim
Porting of Rogue-clone II for Vim
Stars: ✭ 78 (-25%)
Mutual labels:  vim-plugins
Vimpanel
A modern side panel for Vim
Stars: ✭ 97 (-6.73%)
Mutual labels:  vim-plugins
Vim Strand
A barebones Vim plugin manger written in Rust
Stars: ✭ 38 (-63.46%)
Mutual labels:  vim-plugins
Vopher
vopher - acquire vim-plugins the gopher-way
Stars: ✭ 70 (-32.69%)
Mutual labels:  vim-plugins
Omnisharp Vim
Vim omnicompletion (intellisense) and more for C#
Stars: ✭ 1,269 (+1120.19%)
Mutual labels:  vim-plugins
Context.vim
Vim plugin that shows the context of the currently visible buffer contents
Stars: ✭ 688 (+561.54%)
Mutual labels:  vim-plugins
Vim Force.com
Vim plugin for force.com
Stars: ✭ 98 (-5.77%)
Mutual labels:  vim-plugins
Fzf Filemru
File MRU with fzf.vim
Stars: ✭ 76 (-26.92%)
Mutual labels:  vim-plugins
Vim Search Pulse
Easily locate the cursor after a search
Stars: ✭ 91 (-12.5%)
Mutual labels:  vim-plugins
Vim Solargraph
vim plugin (wrapper) for Solargraph gem - IDE tools for the Ruby language.
Stars: ✭ 48 (-53.85%)
Mutual labels:  vim-plugins
Vim Textobj User
Vim plugin: Create your own text objects
Stars: ✭ 1,149 (+1004.81%)
Mutual labels:  vim-plugins
Auto Git Diff
A vim plugin which shows git diff for Git Rebase Interactive
Stars: ✭ 88 (-15.38%)
Mutual labels:  vim-plugins
Hot Reload.vim
A (Neo)vim plugin for Flutter to automatically hot reload the project every time a file is saved
Stars: ✭ 33 (-68.27%)
Mutual labels:  vim-plugins
Vim Unbundle
🎁 Fast, filetype-lazy loader of Vim scripts & plugins
Stars: ✭ 97 (-6.73%)
Mutual labels:  vim-plugins
Minpac
A minimal package manager for Vim 8 (and Neovim)
Stars: ✭ 693 (+566.35%)
Mutual labels:  vim-plugins
Vim Prettier
A Vim plugin for Prettier
Stars: ✭ 1,268 (+1119.23%)
Mutual labels:  vim-plugins
Vim Follow My Lead
Vim plugin for showing all your <Leader> mappings in a readable table including the descriptions.
Stars: ✭ 100 (-3.85%)
Mutual labels:  vim-plugins
Vim Ruby Minitest
Vim highlighting & completion for MiniTest
Stars: ✭ 97 (-6.73%)
Mutual labels:  vim-plugins
Tsuquyomi
A Vim plugin for TypeScript
Stars: ✭ 1,305 (+1154.81%)
Mutual labels:  vim-plugins

dasht.vim

A (Neo)Vim plugin for dasht integration:

  • Search docsets for something you type:

    " search related docsets
    nnoremap <Leader>k :Dasht<Space>
    
    " search ALL the docsets
    nnoremap <Leader><Leader>k :Dasht!<Space>
    
  • Search docsets for words under cursor:

    " search related docsets
    nnoremap <silent> <Leader>K :call Dasht(dasht#cursor_search_terms())<Return>
    
    " search ALL the docsets
    nnoremap <silent> <Leader><Leader>K :call Dasht(dasht#cursor_search_terms(), '!')<Return>
    
  • Search docsets for your selected text:

    " search related docsets
    vnoremap <silent> <Leader>K y:<C-U>call Dasht(getreg(0))<Return>
    
    " search ALL the docsets
    vnoremap <silent> <Leader><Leader>K y:<C-U>call Dasht(getreg(0), '!')<Return>
    
  • Specify related docsets for searching:

    let g:dasht_filetype_docsets = {} " filetype => list of docset name regexp
    
    " For example: {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
    
      " When in Elixir, also search Erlang:
      let g:dasht_filetype_docsets['elixir'] = ['erlang']
    
      " When in C++, also search C, Boost, and OpenGL:
      let g:dasht_filetype_docsets['cpp'] = ['^c$', 'boost', 'OpenGL']
    
      " When in Python, also search NumPy, SciPy, and Pandas:
      let g:dasht_filetype_docsets['python'] = ['(num|sci)py', 'pandas']
    
      " When in HTML, also search CSS, JavaScript, Bootstrap, and jQuery:
      let g:dasht_filetype_docsets['html'] = ['css', 'js', 'bootstrap']
    
    " and so on... }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
    
  • Configure where results are displayed:

    " create window below current one (default)
    let g:dasht_results_window = 'new'
    
    " create window beside current one
    let g:dasht_results_window = 'vnew'
    
    " use current window to show results
    let g:dasht_results_window = 'enew'
    
    " create panel at left-most edge
    let g:dasht_results_window = 'topleft vnew'
    
    " create panel at right-most edge
    let g:dasht_results_window = 'botright vnew'
    
    " create new tab beside current one
    let g:dasht_results_window = 'tabnew'
    

Testing

Developers can run the vim-vspec tests:

gem install bundler         # first time
bundle install              # first time
bundle exec vim-flavor test # every time

License

Like my work? 👍 Please spare a life today as thanks! 🐄🐖🐑🐔🐣🐟✨🙊✌
Why? For 💕 ethics, the 🌎 environment, and 💪 health; see link above. 🙇

Copyright 2016 Suraj N. Kurapati https://github.com/sunaku

Distributed under the same terms as Vim itself.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].