Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gnu-bert/setup-c-programming
Emacs / Debian easy config for learning c-programming.
https://github.com/gnu-bert/setup-c-programming
beginner c-programming debian emacs literate-programming
Last synced: 26 days ago
JSON representation
Emacs / Debian easy config for learning c-programming.
- Host: GitHub
- URL: https://github.com/gnu-bert/setup-c-programming
- Owner: gnu-bert
- License: cc0-1.0
- Created: 2024-07-26T22:43:32.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-01T22:27:48.000Z (3 months ago)
- Last Synced: 2024-09-30T02:24:03.827Z (about 1 month ago)
- Topics: beginner, c-programming, debian, emacs, literate-programming
- Language: Emacs Lisp
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# emacs-init.el
Emacs / Debian init.el for C-programming for beginner's like me + install compiler:)# For debian 12.6
sudo apt install build-essential (c/c++ compiler)
sudo apt install emacs (GNU Emacs is the extensible self-documenting text editor.)
sudo apt install elpa-flycheck (modern on-the-fly syntax checking for Emacs.)
sudo apt install elpa-evil (extensible vi layer for Emacs)
copy init.el to your .emacs.d directory in your home folder.
# keybindings
M is the AltkeyC is the Ctrlkey
M-m (compile using your Makefile)
F5 (compile your current *.c file)
C-c o (open the header file at point/cursor)
evil-mode is not enable by default, but you can start it just hit M-x and type evil-mode
To always use evil mode just uncomment the two semicomas before (evil-mode) in init.el
;;(evil-mode t)