7enn.com.

Slides:



Advertisements
Similar presentations
First change the design of your PowerPoint by clicking on the design tab above. Take a picture with your webcam and insert it here. Insert Tab>Picture>find.
Advertisements

In the last Session… ls -l command seven fields nine permissions of a file ls -ld file ownership file permissions (three-tiered file protection system)
Operational & Function Keys Notes 2
CS 497C – Introduction to UNIX Lecture 8: The vi/vim Editor Chin-Chih Chang
Editing with vi Or more fun than you thought you’d have without a mouse Prof. Chris GauthierDickey.
Program Development Tools IDE vs point tools Two tool flavors exist for developing embedded software: -IDEs: (Integrated Development Environments) i.e.,
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
VIM: The basics Tang Wai-Chung, Matthew (MaFai) 29/12/2006.
Computer Science 117 Intro to C++ 08/26/13. Today Discuss Syllabus Brief History of C++ How to Execute a C++ program. Reading assignment.
UnixUnix Basic. Convention Italic text indicates text displayed by the computer system. For example, login: indicates a login prompt displayed by the.
27-Jun-15 Rails. What is Rails? Rails is a framework for building web applications This involves: Getting information from the user (client), using HTML.
1 Using Editors Editors let you create and edit ASCII files UNIX normally includes two editors: vi and Emacs Vi and Emacs are screen editors: they display.
CS 497C – Introduction to UNIX Lecture 9: The vi/vim Editor Chin-Chih Chang
Starting Vi Opening an existing file vi filename Creating a new file vi filename In your workshop directory, create a new file called mysong vi mysong.
Copyrights© 2008 BVU Amplify DITM Basics of OS,UNIX/LINUX and Shell programming Page:1 Lesson 3: Vi- editor By Simi By Simi.
Visual Studio Tips and Tricks. Credits Zain Naboulsi Microsoft Developer Evangelist isbn:
First change the design of your PowerPoint by clicking on the design tab above. Insert your self-portrait here. Add word art for your name below. Delete.
CSCI 330 T HE UNIX S YSTEM Editing files. E DITOR C ONCEPTS Editing a file is to modify the content of a file Text editor: Enter and modify text in a.
1 Unix Editors (ee, ed, ex, vi, vim) and Compilers (g77, gcc) Speaker: Li-Wen Chen Date:
Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
Get to Know Your Keyboard. Operational Keys Escape (Esc) – allows you to exit unwanted menus and dialog boxes Tab – used to indent; moves the cursor 5.
More on Linux - vi Opening Discussion zWhat did we talk about last class? zYou will use the command line a lot in this course. So lets review.
T HE VI EDITOR. vi has 2 modes: command mode (initial or "default" mode) insert mode [Esc] is used to switch to command mode. In general, vi commands:
Vi/vim/gvim Training Judy Ghirardelli NWS/OST/MDL July 29, 2004 Last Update: September 15, 2004.
LINUX TERMINAL TUTORIAL EDCI 339 – Online Presentation by Roop Rahal.
LINUX Tuesday, 5 July :00 pm. Remote Login l Use Secure Shell (ssh) l Machine name/IP address E.g. ssh hydra.sma.nus.edu.sg Or ssh
1 Editing a C Program 01/16/15. 2 Objective Use Linux to edit, compile and execute a C program.
TAMU CSCE 313 (the basics). Basic Unix/Linux programming Accessing CS systems  PuTTY (putty.exe) – a Telnet and SSH client  Common hosts: unix.cs.tamu.edu.
Introduction to Vim Robbie CSCI2100 Data Structures Tutorial 3.
1 Lab 2 “Hello world” in Unix/Linux #include "std_lib_facilities_4.h" int main(){ cout
VIM  This is the text editor you will use on the workstation.  You can also edit the text files under windows environment and upload it to the workstation.
UNIX Introduction CSCE 221H Texas A&M University.
Text editors Why should I use an editor ? It is very important to able to use at least one text mode editor a text mode editor is so useful on remote machines.
Tony Kombol.  Why text edit?  Many programs and features require configuration ▪ Configuration is kept in files ▪ Usually in the /etc directory  Changes.
Unix Session IV.
Introduction to Unix – CS 21 Lecture 7. Lecture Overview Regular expressions revisited emacs versus vi Basic emacs and vi usage.
Text Editing February 2 nd, 2004 Class Meeting 3.
1 of 47 Chapter 4: The vi Editor – First Look Copyright ©2008 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.
Chapter Three Text Editing1 System Programming Text Editing.
Lesson 4-Mastering the Visual Editor. Overview Introducing the visual editor. Working in an existing file with vi. Understanding the visual editor. Navigating.
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
THE vi EDITOR. Introduction There are three editors available in almost all versions of Unix: ed, ex and vi. The ed program is the original editor that.
Text editing and more basic commands CS 2204 Class meeting 3 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Microsoft Visual Basic 2005 BASICS Lesson 3 Events and Code.
Vi editor Pronounced: `vee eye‘’. Agenda Describe the background of vi Editor Use vi editor to: create text files edit text files Our Goal is to create.
More on Using onyx 8/28/13. Program 1 Due a week from today. See website for details.
First change the design of your PowerPoint by clicking on the design tab above. Take a picture with the webcam, save it in your documents, then insert.
Dr. Sajib Datta Jan 16,  The website is up.  Course lectures will be uploaded there ◦ Check regularly for assignments and update.
ITX2000 Remote hosts and web servers Prof. Xiaohong (Sharon) Gao Room: T125 Ext: Week 14 – UNIX vi text editor.
CS:414 introduction to Unix and Linux
Development Environment Basics
Vim basics Vi IMproved.
Tutorial 2 Programming Editors Recommendation & Cordova Plugin Installation and Management Li Xu Department of Systems Engineering.
Vim.
Vi Introduction Tony Kombol.
Lecture 3 More on editors: emacs and vi COP 3344 Introduction to UNIX.
IT244 - Introduction to Linux / Unix Instructor: Bo Sheng
Program Development with Vim
The Linux Command Line Chapter 12
Basic gvim commands.
C151 Multi-User Operating Systems
This is where R scripts will load
This is where R scripts will load
This is where R scripts will load
CSCI The UNIX System Editing files
Input and Output Python3 Beginner #3.
All About Me First change the design of your PowerPoint by clicking on the design tab above. Insert your self-portrait here. Add word art for your name.
The Linux Command Line Chapter 12
Presentation transcript:

7enn.com

Why VIM? Lightweight Everywhere Remote coding via ssh Pair programming (ssh + tmux) Important skill (like regex) Feel Stupid, Learn Something

Learning

versions 7.3+ Vi (vim) Gui-vim (macvim, gvim on windows\linux)

Configuration.vim file.vim directory Vim scripts and plugins Google “vim Janus” Github astrails dotvim

Favorite Plugins Surround plugin Rails Nerdtree Command-t (fuzzy finding)

Favorite keys Cw and ciw S) Shift-v to line selection Cc to change line Dd to delete line

Practice cw Load up piece of text Use / to find instance of ‘the’ Use ‘cw’ to change ‘the’ to ‘your’ Use ‘esc’ and then ‘n’ to move to next find Use ‘.’ to repeat Use ‘n’ and ‘.’ to repeat as many times as possible

Practice ciw Load up piece of text Use / to find instance of ‘he’ Use ‘ciw’ to change ‘the’ to ‘your’ Use ‘esc’ and then ‘n’ to move to next find Use ‘.’ to repeat Use ‘n’ and ‘.’ to repeat as many times as possible

Practice o and O Load up piece of text Use j to go to 2 nd line For each line use shift O to enter a line above and o to insert a line below Use. To repeat actions

Other vims vsVim for visual studio ViEmu for Word Vimium and vimperator for firefox and chrome Vi-like command line in zsh (configure yourself)