์š”์ฆ˜ emacs๋‚˜ vi์—๋””ํ„ฐ๋ฅผ ๋งŽ์ด ์“ฐ๋ฉด์„œ controlํ‚ค๋ฅผ ์ƒˆ๋ผ ์†๊ฐ€๋ฝ์œผ๋กœ ๋ˆ„๋ฅด๋Š” ์ผ์ด ๋งŽ์•„์กŒ๋‹ค.

๋ณดํ†ต์˜ ํ‚ค๋ณด๋“œ์—๋Š” controlํ‚ค๊ฐ€ ์™ผ์ชฝ ์•„๋ž˜ ์กด์žฌํ•˜๋‹ค ๋ณด๋‹ˆ ์ƒˆ๋ผ ์†๊ฐ€๋ฝ์ด ๋งŽ์ด ๋ฌด๋ฆฌ๊ฐ€ ๊ฐ„๋‹ค.

 

์˜›๋‚ ์˜ unixํ‚ค๋ณด๋“œ์ฒ˜๋Ÿผ ๋ฐฐ์—ด์„ ๋ฐ”๊ฟ”์„œ ์‚ฌ์šฉํ•ด๋ณด๋ ค๊ณ  ํ•œ๋‹ค.

 

# ๋จผ์ € ์•„๋ž˜ ํŒŒ์ผ์„ Editor๋กœ ์—ฐ๋‹ค.
$ sudo vi /etc/default/keyboard

# XKBOPTIONS์„ ์ฐพ์•„ ctrl:nocaps๋ฅผ ์จ์„œ Caps Lockํ‚ค๋ฅผ ์ถ”๊ฐ€์ ์œผ๋กœ Controlํ‚ค๋กœ ์‚ฌ์šฉํ•˜๋„๋ก ํ•œ๋‹ค.
# ๋˜๋Š” ctrl:swapcaps๋ฅผ ์จ์„œ Caps Lockํ‚ค์™€ Controlํ‚ค์˜ ๊ธฐ๋Šฅ์„ ๋ฐ”๊พผ๋‹ค.

XKBOPTIONS="ctrl:nocaps"

# ๋‹ค์Œ์œผ๋กœ ๋ณ€๊ฒฝ๋œ ๋‚ด์šฉ์ด ๋ฐ˜์˜๋˜๋„๋ก ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•œ๋‹ค.
$sudo dpkg-reconfigure keyboard-configuration

 

1. Linux Outliner (Windows๋„ ๊ฐ€๋Šฅ)

https://www.giuspen.com/cherrytree/#downl

  1. Install wget and Cherrytree dependencies.

  2.  

    sudo apt install wget python-dbus python-chardet python-enchant libcanberra-gtk-module libgtksourceview2.0-0 libgtksourceview2.0-common python-cairo python-gobject-2 python-gtk2 python-numpy

  3. Download python-gtksourceview2.

    wget http://ftp.br.debian.org/debian/pool/main/p/pygtksourceview/python-gtksourceview2_2.10.1-3_amd64.deb

  4. Install python-gtksourceview2.

    sudo dpkg -i python-gtksourceview2_2.10.1-3_amd64.deb

  5. Download Cherrytree.

    wget http://www.giuspen.com/software/cherrytree_0.38.9-0_all.deb

  6. Install Cherrytree.

    sudo dpkg -i cherrytree_0.38.9-0_all.deb

 

cherrytree – giuspen

A hierarchical note taking application, featuring rich text and syntax highlighting, storing data in a single xml or sqlite file. Written by Giuseppe Penone (aka giuspen). The user manual online html and downloadable ctb written and maintained by Ellie Bor

www.giuspen.com

https://stackedit.io/app

 

 

StackEdit

 

stackedit.io

 

 

StackEdit

 

stackedit.io

https://www.tagspaces.org/

 

TagSpaces - Your versatile file organizer

TagSpaces is an open source platform for personal data management. With TagSpaces you can manage and organize the files and folders on your pc, mac or smart phone.

www.tagspaces.org

https://joplinapp.org/

 

Joplin - an open source note taking and to-do application with synchronisation capabilities

Hacktoberfest ๐ŸŽƒ is back this year again for our great pleasure ^^ To participate go to https://hacktoberfest.digitalocean.com/, log in (with you GitHub account) and you are ready to get in. Next, go dive into the Joplin issues list labelled "Hacktoberfest"

joplinapp.org

2. Albert

๋งฅ์˜ ์•Œํ”„๋ ˆ๋“œ์™€ ๊ฐ™์€ ์—ญํ• ์„ ํ•œ๋‹ค.

Ctrl + tabํ‚ค๋กœ ๋‹จ์ถ•ํ‚ค๋ฅผ ์ง€์ •ํ•ด๋†“์œผ๋ฉด ํŽธ๋ฆฌํ•˜๋‹ค.

https://software.opensuse.org/download.html?project=home:manuelschneid3r&package=albert

 

Install package home:manuelschneid3r / albert

Packages for xUbuntu 19.10: albert_0.16.1_amd64.deb

software.opensuse.org

3. ํ•œ๊ธ€ํฐํŠธ ์„ค์ •

๋‚˜๋ˆ”๊ธ€๊ผด

$ sudo apt install fonts-nanum

๋‚˜๋ˆ”๊ณ ๋”• ์ฝ”๋”ฉ์ฒด

$ sudo apt install fonts-nanum-coding

 

4. shutter (Capture ํ”„๋กœ๊ทธ๋žจ)

sudo add-apt-repository ppa:linuxuprising/shutter

sudo apt install shutter

sudo apt remove --auto-remove shutter

 

4. Hangul Input Method

https://nimf-i18n.gitlab.io/ko/installation/

sudo apt-add-repository ppa:hodong/nimf -y

sudo apt update

sudo apt-get install im-config zenity

sudo apt install nimf nimf-libhangul -y

im-config -n nimf

 

5. Notebook Battery Saving

sudo add-apt-repository ppa:linrunner/tlpsudo

apt-get updatesudo

apt-get install tlp tlp-rdw

(์”ฝํฌํŒจ๋“œ ์œ ์ €๋ผ๋ฉด ์•„๋ž˜ ๋‚ด์šฉ ์ถ”๊ฐ€)sudo apt-get install tp-smapi-dkms acpi-call-dkms

 

6. ZSH Theme์„ค์ •

powerlevel10k

https://github.com/romkatv/powerlevel10k

 

romkatv/powerlevel10k

A fast reimplementation of Powerlevel9k ZSH theme. Contribute to romkatv/powerlevel10k development by creating an account on GitHub.

github.com

 

7. XFCE Terminal Theme

https://www.maketecheasier.com/best-xfce-terminal-themes/

 

5 XFCE Terminal Themes You Should Try - Make Tech Easier

There are numerous ways to spruce up the XFCE terminal. For those who want to tweak their terminal, here are five great XFCE terminal themes to check out.

www.maketecheasier.com

https://github.com/nthirtyone/mariana-scheme

 

nthirtyone/mariana-scheme

Colour scheme from ST3 for XFCE4 Terminal. Contribute to nthirtyone/mariana-scheme development by creating an account on GitHub.

github.com


8. emacs์ตœ์‹ ๋ฒ„์ „(28๋ฒ„์ „)์„ค์น˜

Repository๋ฅผ ์ถ”๊ฐ€ ํ•œ๋‹ค.

[28๋ฒ„์ „]

sudo add-apt-repository ppa:ubuntu-elisp/ppa 
sudo apt-get update 
sudo apt install emacs-snapshot

[25๋ฒ„์ „]

sudo add-apt-repository ppa:kelleyk/emacs 
sudo apt-get update 
sudo apt install emacs25

[26๋ฒ„์ „]

sudo add-apt-repository ppa:kelleyk/emacs 
sudo apt-get update 
sudo apt install emacs26

[๊ธฐ๋ณธ ์—๋””ํ„ฐ ๋ณ€๊ฒฝ]

sudo update-alternatives --config emacs

user@user-desktop:~$ update-alternatives --config emacs
There are 2 choices for the alternative emacs (providing /usr/bin/emacs).

  Selection    Path                     Priority   Status
------------------------------------------------------------
  0            /usr/bin/emacs-snapshot   27        auto mode
* 1            /usr/bin/emacs-snapshot   27        manual mode
  2            /usr/bin/emacs24-x        27        manual mode

ssl ์ธ์ฆ์„œ(*.crt)ํŒŒ์ผ์„ ์ค€๋น„ํ•œ๋‹ค.

 

# trust anchor localhost.crt

# trust extract-compat

 

/usr/lib/python3.7/site-packages/pacman_mirrors/functions/ ์•„๋ž˜์—

httpFn.py๋ฅผ ์ˆ˜์ •ํ•œ๋‹ค.

 

context = ssl._create_unverified_context()

response = urllib.request.urlopen(requests, data=data.encode('utf-8'), context=context)

 

References

General

  • Nearly all commands can be preceded by a number for a repeat count. eg. 5dd delete 5 lines
  • <Esc> gets you out of any mode and back to command mode
  • Commands preceded by : are executed on the command line at the bottom of the screen
  • :help help with any command

Navigation

  • Cursor movement: โ†h โ†“j โ†‘k lโ†’
  • By words:
    • w next word (by punctuation); W next word (by spaces)
    • b back word (by punctuation); B back word (by spaces)
    • e end word (by punctuation); E end word (by spaces)
  • By line:
    • 0 start of line; ^ first non-whitespace
    • $ end of line
  • By paragraph:
    • { previous blank line; } next blank line
  • By file:
    • gg start of file; G end of file
    • 123G go to specific line number
  • By marker:
    • mx set mark x'x go to mark x
    • '. go to position of last edit
    • ' ' go back to last point before jump
  • Scrolling:
    • ^F forward full screen; ^B backward full screen
    • ^D down half screen; ^U up half screen
    • ^E scroll one line up; ^Y scroll one line down
    • zz centre cursor line

Editing

  • u undo; ^R redo
  • . repeat last editing command

Inserting

All insertion commands are terminated with <Esc> to return to command mode.

  • i insert text at cursor; I insert text at start of line
  • a append text after cursor; A append text after end of line
  • o open new line below; O open new line above

Changing

All change commands except r and R are terminated with <Esc> to return to command mode.

  • r replace single character; R replace multiple characters
  • s change single character
  • cw change word; C change to end of line; cc change whole line
  • c<motion> changes text in the direction of the motion
  • ci( change inside parentheses (see text object selection for more examples)

Deleting

  • x delete char
  • dw delete word; D delete to end of line; dd delete whole line
  • d<motion> deletes in the direction of the motion

Cut and paste

  • yy copy line into paste buffer; dd cut line into paste buffer
  • p paste buffer below cursor line; P paste buffer above cursor line
  • xp swap two characters (x to delete one character, then p to put it back after the cursor position)

Blocks

  • v visual block stream; V visual block line; ^V visual block column
    • most motion commands extend the block to the new cursor position
    • o moves the cursor to the other end of the block
  • d or x cut block into paste buffer
  • y copy block into paste buffer
  • > indent block; < unindent block
  • gv reselect last visual block

Global

  • :%s/foo/bar/g substitute all occurrences of "foo" to "bar"
    • % is a range that indicates every line in the file
    • /g is a flag that changes all occurrences on a line instead of just the first one

Searching

  • / search forward; ? search backward
  • * search forward for word under cursor; # search backward for word under cursor
  • n next match in same direction; N next match in opposite direction
  • fx forward to next character xFx backward to previous character x
  • ; move again to same character in same direction; , move again to same character in opposite direction

Files

  • :w write file to disk
  • :w name write file to disk as name
  • ZZ write file to disk and quit
  • :n edit a new file; :n! edit a new file without saving current changes
  • :q quit editing a file; :q! quit editing without saving changes
  • :e edit same file again (if changed outside vim)
  • :e . directory explorer

Windows

  • ^Wn new window
  • ^Wj down to next window; ^Wk up to previous window
  • ^W_ maximise current window; ^W= make all windows equal size
  • ^W+ increase window size; ^W- decrease window size

Source Navigation

  • % jump to matching parenthesis/bracket/brace, or language block if language module loaded
  • gd go to definition of local symbol under cursor; ^O return to previous position
  • ^] jump to definition of global symbol (requires tags file); ^T return to previous position (arbitrary stack of positions maintained)
  • ^N (in insert mode) automatic word completion

Show local changes

Vim has some features that make it easy to highlight lines that have been changed from a base version in source control. I have created a small vim script that makes this easy: http://github.com/ghewgill/vim-scmdiff

+ Recent posts