LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-06-2022, 01:08 PM   #1
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Rep: Reputation: Disabled
vim plugin minimap related


I need a bit of help regarding minimap plugin

I have the minimap plugin installed, it works but not working well , but I have heard it has got more feature than what i am using now..

1. I think there is way to make the minimap narrower (to save space)
2. It indicate search result on minimap as well.. but mine does not or i don't know how.
3. Where is the configuration file for it ? i might can study it a bit to see if anything can be use to my need.
4. https://github.com/wfxr/minimap.vim I believe this is the minimap configuration file. But i have no idea how it works. Can someone teach me ?
example:
How this works ? I believe this is the highlight on minimap when search do a search.
But how does it works ? my minimap does not indicate where search result located when i did a search.
Is there a command that i need to execute ? or i just need to turn it on by changing "0" to "1" ?


Code:
""" Feature Flags
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
if !exists('g:minimap_highlight_range')
    let g:minimap_highlight_range = 0
endif

Thanks
 
Old 02-06-2022, 02:09 PM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
See minimap-vim.txt. It should be available from inside Vim as well:
Code:
:h minimap
Quote:
Originally Posted by andrewysk View Post
3. Where is the configuration file for it?
As with any Vim plugin, the settings go to your ~/.vim/vimrc. Or to ~/.config/nvim/init.vim if it's Neovim.
Quote:
Originally Posted by andrewysk View Post
Is there a command that i need to execute?
For example,
Code:
echo 'let g:minimap_highlight_range = 1' >> ~/.vim/vimrc

Last edited by shruggy; 02-06-2022 at 02:19 PM.
 
Old 02-06-2022, 03:27 PM   #3
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post

Code:
echo 'let g:minimap_highlight_range = 1' >> ~/.vim/vimrc
I have just added
Code:
let g:minimap_highlight_range = 1
onto my .vimrc , but it still does not show any special color when i do search.
 
Old 02-06-2022, 03:29 PM   #4
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
Btw, i am using minimap.vim, not minimap-vim.


There are 3 different version of minimap for vim.. i am using the so call "lightning blitz fast one.


Code:
https://github.com/wfxr/minimap.vim
this one

Btw,
This minimap does not work proper when the text line exceed 40000lines.. it just now display on the minimap.. no good

I am using vim native plug in method.. i didn't install plugin manager for vim.
Tried this, not working.. either that or i don't know how to install it.. somehow other works, but not this<..
https://github.com/severin-lemaignan/vim-minimap

Tried this as well, it crashes vim .. i think i meant for gvim. i am using vim terminal (from the same package of gvim. )
https://github.com/koron/minimap-vim

Last edited by andrewysk; 02-06-2022 at 03:48 PM.
 
Old 02-06-2022, 04:02 PM   #5
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by andrewysk View Post
Btw, i am using minimap.vim, not minimap-vim.
I know. Check the URL of my link. :helptags ALL should make the documentation available from inside Vim.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vim plugin: does this download the plugin at every use of vim command? dedec0 Linux - Software 7 09-05-2021 06:55 AM
LXer: Minimap coming to the gedit text editor LXer Syndicated Linux News 0 05-18-2015 11:20 AM
[SOLVED] Fedora shows 'man vim' but when execute 'vim' got "bash: vim: command not found..." ? flash_os Linux - Newbie 19 01-03-2015 11:56 PM
Switching from vim to vim -g from inside vim iDragoon Linux - Software 4 05-15-2009 11:46 AM
Editor comparison: vim VS vim-lite, Cleaning vim Ruler2112 *BSD 4 04-13-2009 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration