KeyOneLab
  • Project Lab
    • 4D Generator
    • Image on GLCD
    • Water Ticker
    • Water Usage using Rapberry Pi 3
    • Ethernet Tester
  • About Linux
    • phpMyAdmin & mySql on centOS 7 Installation
  • About me
  • vim

VIM


Set vim colorsheme
create a file name
# vi ~/.vimrc
insert  text as follow
 colo desert   # template
  syntax on
To add template  below .vim/
  mkdir  ~./.vim/colors
insert the template file there
then launch the vim it will auto load

ownload ctags source: http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gzIn hour shell:
$ tar zxf ctags-5.8.tar.gz $ cd ctags-5.8 $
./configure --prefix=$HOME $ make && make install This will compile and install ctags in your home directory.
The resulting binary will be: $HOME/bin/ctags
You will now have to modify your PATH environment variable prior to launching vim.
$ vim $HOME/.bashrc (or whichever shell you're using) put this line in your .bashrc
export PATH="$HOME/bin:$PATH"
You will now need to resource your .bashrc (remember that .bashrc is normally only loaded from non-interactive shells. Make sure that you source .bashrc from .bash_profile)
If you need to, modify your .bash_profile and make sure it has a line like:
. $HOME/.bashrc or
source $HOME/.bashrc
To continue without closing your shell, simply type:
$ . $HOME/.bashrc
You can now launch vim and ctags will be working.

install Ctag




Raspberry pi   
date 2 April
vim color scheme use hybrid ,wget to specific .vim color to   ~/.vim/colors
https://raw.githubusercontent.com/scwood/vim-hybrid/master/colors/hybrid.vim
Goto  vim Awesome to download the vim you want to
http://vimawesome.com/

.vimrc to install vim plugin via vim Plug
Plugin that I use



In raspberry pi to update and renew pkg
# apt-get update
# apt-get dist-upgrade

USE script to install for your next pi

USEFUL help

About vim
https://github.com/mhinz/vim-galore

To free memory in raspberry pi

free -m
sync
$ echo
3 > /proc/sys/vm/drop_caches
free -m


https://www.stewright.me/2014/06/tutorial-install-mysql-server-on-raspbian/

To remove pkg --- that got issue
sudo apt-get autoremove --purge package-name
sudo add-apt-repository --remove ppa:someppa/ppa
sudo apt-get autoclean



Installation Download plug.vim and put it in the "autoload" directory.
Unix
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim


Powered by Create your own unique website with customizable templates.