---
# System prepended metadata

title: On week 4 I learnt a little fu

---

# week four turn out to be one of the best week so far for us**

On week 4, I learnt a little further that Vim operates in four different modes, each serving its unique purpose.

The command line mode: This is for saving, quitting and running commands (: to enter)

The normal mode : This is the default mode when you open vim. It is used for navigating and executing commands.

The insert mode: This is used for editing and typing text 

The visual mode : This is for selecting text ( ctrl +v to enter this mode)

New commands were though apart from our regular: 
* W: write and 
* q: quit

A lot was then introduced 
  dd - to delete (cut) the     current line
  
  :bp - to go back to the      previous
  :bn - to move to the next   file.
  :spilt - used to spilt       files in the vim editor     horizontally
  :vsp or :vspilt - this is   used to split files in the   vim editor verticall
  ctrl ww - for switching to   the different opened         buffers
  
  y - yank (copy) the         current line
  p - to paste below the       current line
  u - to undo the last         change
  Ctrl + r - redo the undone   change
  
On Wednesday we began an introductory class into Python.
We learnt that it is an interpreted language.

learnt how to create a python file and manipulation of data types in python such as:

B****oolean
Strings
Float
integers
