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 01-06-2018, 09:01 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
Vim8 - difficulty installing vim-markdown plugin


Code:
# uname -a
Linux fir 4.14.9-calculate #1 SMP PREEMPT Thu Dec 28 10:52:39 UTC 2017 x86_64 AMD Athlon(tm) II X4 640 Processor AuthenticAMD GNU/Linux

# vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Dec 22 2017 12:25:57)

I don't think I have ever installed a vim plugin before. I am finding it surprisingly difficult.

The plugin I am trying to install is: vim-markdown

I created a ~/.vim/bundle/ directory, and cloned the package into that directory.

Code:
 ~/.vim/bundle $ git clone https://github.com/plasticboy/vim-markdown.git
Seemed to work.

As I understand it, I am supposed to edit ~/.vimrc and set a runtimepath to the markdown.vim file. Like this:

Code:
set runtimepath^=~/.vim/bundle/vim-markdown/. . ./markdown.vim
Problem is: there are several markdown.vim files.

Code:
 ~/.vim/bundle/vim-markdown $ find . -name "markdown.vim" -print
./syntax/markdown.vim
./after/ftplugin/markdown.vim
./ftplugin/markdown.vim
./ftdetect/markdown.vim
./indent/markdown.vim

Am I supposed to create runtimepaths to all of them? Or am I doing this completely wrong?

Last edited by walterbyrd; 01-06-2018 at 09:03 PM.
 
Old 01-07-2018, 05:53 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
you may try to follow this: http://www.vim.org/scripts/script.php?script_id=2882
or this: https://github.com/hallison/vim-markdown
 
Old 01-07-2018, 06:58 PM   #3
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
Not really helpful to me.

Thank you anyway.
 
Old 01-08-2018, 01:08 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
as your post is not really helpful - to be able to help you.
http://catb.org/~esr/faqs/smart-ques...html#beprecise
 
Old 01-09-2018, 02:25 PM   #5
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
Excuse me. I think I was very precise.

I explained exactly what I had done, and where I was hung up.

Instead of helping, you gave me a reference to a completely different approach.
 
Old 01-09-2018, 03:02 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
This page has some maybe different versions that seem to be easy to install. I assume that on those scripts there is an answer to what is being edited or changed. Look at those scripts or offer us where you are finding the install guide for your work. ??

https://vimawesome.com/plugin/vim-ma...autiful-tragic
 
  


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
[SOLVED] Upgrade vim7 to vim8 on 14.2 PRNG Slackware 4 02-04-2017 03:30 AM
[SOLVED] Installing vim plugin problem validator456 Linux - Software 4 11-13-2015 08:57 AM
[SOLVED] vim plugin: easymotion validator456 Linux - Software 2 11-12-2015 05:05 PM
[SOLVED] Installing vim-gnome or vim-gtk dependency issues with apt, aptitude, synaptic alagenchev Linux - Software 3 05-15-2012 10:33 AM
vim plugin's FragInHell Linux - General 0 02-17-2008 10:52 PM

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

All times are GMT -5. The time now is 12:25 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