Skip to content
Books

vim Lesson 2.1 , 2.2 , 2.3 , 2.4

Thohi

Contributor

2 min read

Lesson 2.1: DELETION COMMANDS

**dw commmand ဖြင့် စာလုံးကိုဖကျ်ခြင်း**
၁။ နှိပ်၍ normal mode ဖြစ်တာသချောရန်စစ်။
၂။ –> There are a some words fun that don’t belong paper in this sentence. ဒီစာကြောင်းလေးရိုက်လိုက်ပါ။
၃။ cursor ကို ဖကျ်လိုသည့် စာလုံးအရှေ့ ကို ရှေ့ပါ။
၄။ dw command ကိုနှိပ်ပါက cursor နောက်မှစာလုံးပျောက်သွားမည်။
၅။ စာကြောင်းလေးဒီလိုဖြစ်အောင်စမ်းကြည့်ပါ။
There are some words that don’t belong in this sentence.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Lesson 2.2: MORE DELETION COMMANDS

**d$ နှိပ်၍ စာကြောင်းအဆုံးထိဖကျ်ခြင်း**

၁။ နှိပ်၍ normal mode ဖြစ်တာသချောရန်စစ်။
၂။ –> Somebody typed the end of this line twice. end of this line twice. ဒီစာကြောင်းလေးရိုက်လိုက်ပါ။
၃။ cursor ကို ပထမ ဝါကရြဲ့အဆုံးကိုရှေ့ပါ။
၄။ d$ command ကိုရိုက်လိုက်ပါက cursor နောက်ပိုင်းစာကြောင်းတခုလုံးပုဒ်မအထိ ဖကျ်သည်။

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Lesson 2.3: ON OPERATORS AND MOTIONS

command အများစုမှာ operator နှင့် motion ဆိုပြီး ၂မျိုးဖြင့်အလုပ်လုပ်ပါတယ်။
delete လုပ်ဖို့အတွက် d ကို operator လို့ခေါ်ပြီး motion ဆိုတဲ့နောက်လိုက်တွေရှိပါတယ်။
ဥပမာ။ ။ d motion

d သည် delete operator ဖြစ်ပြီး
motion သည် operator ဘာဆက်လုပ်မည်ဆိုတာဖြစ်ပါသည်။
motions တှကေတော့
w ရဲ့အလုပ်က ဖကျ်လိုသည့်စာလုံးအပြင် နောက်စာလုံးရဲ့ အရှေ့ထိဖကျ်ပေးပါသည်။ dw
e ရဲ့အလုပ်က ဖကျ်လိုသည့်စာလုံးကိုပဲဖကျ်ပေးပါသည်။ de
$ ရဲ့အလုပ်က စာကြောင်းတခုလုံးကို နောက်ဆုံး character အထိဖကျ်ပေးပါသည်။ d$
ဒါကြောင့် de လို့ command ရိုက်လိုက်ရင် cursor နရောမှ စာလုံးအဆုံးထိဖကျ်ပေးပါသည်။
မှတ်ခကျ်။ ။ normal mode မှာ motion ပဲရိုက်မယ်ဆိုရင် ( ရှေ့က operator မပါ ) cursor လေးပဲရှေ့ပေးသှားမှာပါ။

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Lesson 2.4: USING A COUNT FOR A MOTION

** motion တွေရဲ့ရှေ့မှာ နံပါတ်ထည့်၍အသုံးပြုခြင်း**

၁။ –> This is just a line with words you can move around in. ဒီစာကြောင်းလေးရိုက်ကြည့်ပါ။
၂။ 2w ကိုရိုက်လျှင် cursor သည် စာလုံး၂ လုံးစာရှေ့သည်။တတိယ စာလုံးရဲ့ ရှေ့အထိရှေ့သည်။
၃။ 2e ကိုရိုက်လျှင် cursor သည် စာလုံး၂ လုံးစာရှေ့သည်။ ဒုတိယစာလုံးရဲ့ နောက်ဆုံး character အရှေ့ ထိရှေ့သည်။
၄။ 0 (zero) ရိုက်လျှင် စာကြောင်းရဲ့ အစကို cursor ရောက်သွားသည်။

3.Working with Ubuntu,All the applications you need

13.04 version အတှကျရေးထားပွီး ဘယျမှာမှ မတငျထားမိတာ အခုဒီနရောမှာ တငျလိုကျပါတယျ။ manual ဘာသာပွနျမယျဆိုပွီး ယူထားတဲ့ အပိုငျးထဲကပါ။ ဖတျရတာ အဆငျမပွလြှေငျတော့ ဘာသာပွနျတာ အားနညျးလို့ပါ။…

Thohi

4 min read

vim Lesson 5.1 ,5.2 , 5.3 , 5.4 , summary

Lesson 5.1: HOW TO EXECUTE AN EXTERNAL COMMAND \ \ :! နောက်မှာ command ရိုက်ပြီးအသုံးပြုခြင်း။ \ \ ၁။ : (column) ဆိုတဲ့ သုံးနေကြ command ရိုက်လိုက်လျှင် screen ရဲ့အောက်မှာ cursor…

Thohi

2 min read

vim Lesson 4.1 , 4.2 , 4.3 , 4.4 , Summary

Lesson 4.1: CURSOR LOCATION AND FILE STATUS \ \ Ctrl+g နှိပ်လျှင် သင့်ဖိုင်ရဲ့ နေရာနဲ့ဖိုင်အခြေအနေကိုပြသပါမည်။ လိုင်းနံပါတ်နှိပ်ပြီးရင် G (shift+g) နှိပ်ပါက…

Thohi

3 min read